diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-03-16 11:38:36 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-03-16 11:38:59 -0700 |
commit | 7d8fe1f9f66110b23972869496e2000e9c35bb6d (patch) | |
tree | 3cdfd708f8b74d56458345e1757116a404b2b344 | |
parent | 8832cc5f91a420db6bea65f381a3fb3597eb7523 (diff) | |
download | emacs-7d8fe1f9f66110b23972869496e2000e9c35bb6d.tar.gz |
Fix regexp typo in vc-git--program-version
* lisp/vc/vc-git.el (vc-git--program-version):
Require a period after ".windows", instead of allowing any char.
-rw-r--r-- | lisp/vc/vc-git.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index c990b0659d2..6b8ed7e2c12 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -253,7 +253,7 @@ The following place holders should be present in the string: ;; Git for Windows appends ".windows.N" to the ;; numerical version reported by Git. (string-match - "git version \\([0-9.]+\\)\\(\\.windows.[0-9]+\\)?$" + "git version \\([0-9.]+\\)\\(\\.windows\\.[0-9]+\\)?$" version-string)) (match-string 1 version-string) "0"))))) |