]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/vc/vc-git.el (vc-git--program-version): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Fri, 16 Feb 2018 17:20:29 +0000 (19:20 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 16 Feb 2018 17:20:29 +0000 (19:20 +0200)
lisp/vc/vc-git.el

index 7ebb72f2706a3940286266c905f8d6c5fa6e6467..2d0ea9ce600cb7305467cfb813c47d7c0481c06c 100644 (file)
@@ -242,7 +242,7 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
                        ;; 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")))))