aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0873acd70a2..997cc9d5ec4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -25,6 +25,9 @@
25 (vc-annotate-display-autoscale) 25 (vc-annotate-display-autoscale)
26 (vc-annotate-display-difference): Use it. 26 (vc-annotate-display-difference): Use it.
27 27
28 * vc-git.el (vc-git-annotate-time): Handle optional field FILENAME.
29 Also, match one space at end of annotation text, after last paren.
30
282007-11-24 Michael Albinus <michael.albinus@gmx.de> 312007-11-24 Michael Albinus <michael.albinus@gmx.de>
29 32
30 * ido.el (ido-file-name-all-completions-1): Check for fboundp of 33 * ido.el (ido-file-name-all-completions-1): Check for fboundp of
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 5652f386f7f..1d0297209b5 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -359,7 +359,7 @@ or BRANCH^ (where \"^\" can be repeated)."
359 (vc-git-command buf 0 name "blame" (if rev (concat "-r" rev))))) 359 (vc-git-command buf 0 name "blame" (if rev (concat "-r" rev)))))
360 360
361(defun vc-git-annotate-time () 361(defun vc-git-annotate-time ()
362 (and (re-search-forward "[0-9a-f]+ (.* \\([0-9]+\\)-\\([0-9]+\\)-\\([0-9]+\\) \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) \\([-+0-9]+\\) +[0-9]+)" nil t) 362 (and (re-search-forward "[0-9a-f]+[^()]+(.* \\([0-9]+\\)-\\([0-9]+\\)-\\([0-9]+\\) \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) \\([-+0-9]+\\) +[0-9]+) " nil t)
363 (vc-annotate-convert-time 363 (vc-annotate-convert-time
364 (apply #'encode-time (mapcar (lambda (match) 364 (apply #'encode-time (mapcar (lambda (match)
365 (string-to-number (match-string match))) 365 (string-to-number (match-string match)))