aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-03-22 17:21:48 +0000
committerDan Nicolaescu2008-03-22 17:21:48 +0000
commitdd3ffb9a381f5fb3ef61988d0c0733b33c059c8f (patch)
treea3c4b527607106a6d4cda92d94d1c7972cbd495c
parent3281a821f771b2c74fe880f24cc38ce0d25e4d58 (diff)
downloademacs-dd3ffb9a381f5fb3ef61988d0c0733b33c059c8f.tar.gz
emacs-dd3ffb9a381f5fb3ef61988d0c0733b33c059c8f.zip
(vc-git-annotate-extract-revision-at-line):
Allow "^" in a version name.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/vc-git.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dbdf5ab03ad..f7bacf9b31b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-03-22 Dan Nicolaescu <dann@ics.uci.edu> 12008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * vc-git.el (vc-git-annotate-extract-revision-at-line):
4 Allow "^" in a version name.
5
3 * vc-mtn.el (vc-mtn-state): Support the added state. 6 * vc-mtn.el (vc-mtn-state): Support the added state.
4 7
52008-03-22 Carsten Dominik <dominik@science.uva.nl> 82008-03-22 Carsten Dominik <dominik@science.uva.nl>
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 8bbb16a62a0..36d17ad4a75 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -400,7 +400,7 @@ or BRANCH^ (where \"^\" can be repeated)."
400(defun vc-git-annotate-extract-revision-at-line () 400(defun vc-git-annotate-extract-revision-at-line ()
401 (save-excursion 401 (save-excursion
402 (move-beginning-of-line 1) 402 (move-beginning-of-line 1)
403 (and (looking-at "[0-9a-f]+") 403 (and (looking-at "[0-9a-f^][0-9a-f]+")
404 (buffer-substring-no-properties (match-beginning 0) (match-end 0))))) 404 (buffer-substring-no-properties (match-beginning 0) (match-end 0)))))
405 405
406;;; SNAPSHOT SYSTEM 406;;; SNAPSHOT SYSTEM