From: Paul Eggert Date: Sat, 16 Mar 2019 18:38:36 +0000 (-0700) Subject: Fix regexp typo in vc-git--program-version X-Git-Tag: emacs-27.0.90~3403 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d8fe1f9f66110b23972869496e2000e9c35bb6d;p=emacs.git 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. --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index c990b0659d2..6b8ed7e2c12 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")))))