From dfa0bb35a546367dc1cbcde15fc2acbbc92712bc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 16 Mar 2019 11:38:36 -0700 Subject: [PATCH] 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. --- 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 c990b0659d..6b8ed7e2c1 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -253,7 +253,7 @@ vc-git--program-version ;; 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.17.1