emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 a06a8ed: ; * lisp/vc/vc-git.el (vc-git--program-v


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 a06a8ed: ; * lisp/vc/vc-git.el (vc-git--program-version): Fix last change.
Date: Fri, 16 Feb 2018 12:20:52 -0500 (EST)

branch: emacs-26
commit a06a8ed5b66883202ae7182471570dfcabcea973
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * 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 7ebb72f..2d0ea9c 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")))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]