emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 7d8fe1f 2/2: Fix regexp typo in vc-git--program-ver


From: Paul Eggert
Subject: [Emacs-diffs] master 7d8fe1f 2/2: Fix regexp typo in vc-git--program-version
Date: Sat, 16 Mar 2019 14:39:05 -0400 (EDT)

branch: master
commit 7d8fe1f9f66110b23972869496e2000e9c35bb6d
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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 c990b06..6b8ed7e 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -253,7 +253,7 @@ The following place holders should be present in the string:
                        ;; 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]