aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2019-03-16 11:38:36 -0700
committerPaul Eggert2019-03-16 11:38:59 -0700
commit7d8fe1f9f66110b23972869496e2000e9c35bb6d (patch)
tree3cdfd708f8b74d56458345e1757116a404b2b344
parent8832cc5f91a420db6bea65f381a3fb3597eb7523 (diff)
downloademacs-7d8fe1f9f66110b23972869496e2000e9c35bb6d.tar.gz
emacs-7d8fe1f9f66110b23972869496e2000e9c35bb6d.zip
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.el2
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:
253 ;; Git for Windows appends ".windows.N" to the 253 ;; Git for Windows appends ".windows.N" to the
254 ;; numerical version reported by Git. 254 ;; numerical version reported by Git.
255 (string-match 255 (string-match
256 "git version \\([0-9.]+\\)\\(\\.windows.[0-9]+\\)?$" 256 "git version \\([0-9.]+\\)\\(\\.windows\\.[0-9]+\\)?$"
257 version-string)) 257 version-string))
258 (match-string 1 version-string) 258 (match-string 1 version-string)
259 "0"))))) 259 "0")))))