mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(vc-git-annotate-extract-revision-at-line):
Allow "^" in a version name.
This commit is contained in:
parent
3281a821f7
commit
dd3ffb9a38
@ -1,5 +1,8 @@
|
||||
2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* vc-git.el (vc-git-annotate-extract-revision-at-line):
|
||||
Allow "^" in a version name.
|
||||
|
||||
* vc-mtn.el (vc-mtn-state): Support the added state.
|
||||
|
||||
2008-03-22 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
@ -400,7 +400,7 @@ or BRANCH^ (where \"^\" can be repeated)."
|
||||
(defun vc-git-annotate-extract-revision-at-line ()
|
||||
(save-excursion
|
||||
(move-beginning-of-line 1)
|
||||
(and (looking-at "[0-9a-f]+")
|
||||
(and (looking-at "[0-9a-f^][0-9a-f]+")
|
||||
(buffer-substring-no-properties (match-beginning 0) (match-end 0)))))
|
||||
|
||||
;;; SNAPSHOT SYSTEM
|
||||
|
Loading…
Reference in New Issue
Block a user