From a06a8ed5b66883202ae7182471570dfcabcea973 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Feb 2018 19:20:29 +0200 Subject: [PATCH] ; * lisp/vc/vc-git.el (vc-git--program-version): Fix last change. --- lisp/vc/vc-git.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 7ebb72f2706..2d0ea9ce600 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -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"))))) -- 2.39.2