projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8832cc5
)
Fix regexp typo in vc-git--program-version
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 16 Mar 2019 18:38:36 +0000
(11:38 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 16 Mar 2019 18:38:59 +0000
(11:38 -0700)
* lisp/vc/vc-git.el (vc-git--program-version):
Require a period after ".windows", instead of allowing any char.
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index c990b0659d2ed6d5eef7a15575d991d827861467..6b8ed7e2c123c5118af6666d7c71d2fd3c805590 100644
(file)
--- 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")))))