diff lisp/vc-git.el @ 93145:9a34bf3a4363

(vc-git-annotate-extract-revision-at-line): Allow "^" in a version name.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 22 Mar 2008 17:21:48 +0000
parents 97c5b398eee4
children c73e70274c0c
line wrap: on
line diff
--- a/lisp/vc-git.el	Sat Mar 22 17:09:33 2008 +0000
+++ b/lisp/vc-git.el	Sat Mar 22 17:21:48 2008 +0000
@@ -400,7 +400,7 @@
 (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