; * lisp/vc/vc-git.el (vc-git--program-version): Fix last change.

This commit is contained in:
Eli Zaretskii 2018-02-16 19:20:29 +02:00
parent edc06adf96
commit a06a8ed5b6

View 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")))))