Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
vc-git.el: Switch to using git-blame instead of git-annotate.
author
Alexandre Julliard
<julliard@winehq.org>
Thu, 5 Oct 2006 09:30:44 +0000
(11:30 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 5 Oct 2006 16:09:13 +0000
(09:09 -0700)
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/vc-git.el
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
c530c5a
)
diff --git
a/contrib/emacs/vc-git.el
b/contrib/emacs/vc-git.el
index 4a8f79092d1217ea6aff51a9cbefef83a4a656ff..4189c4ced047a89782cd1de035e76a930a707b38 100644
(file)
--- a/
contrib/emacs/vc-git.el
+++ b/
contrib/emacs/vc-git.el
@@
-119,10
+119,10
@@
(defun vc-git-annotate-command (file buf &optional rev)
; FIXME: rev is ignored
(let ((name (file-relative-name file)))
(defun vc-git-annotate-command (file buf &optional rev)
; FIXME: rev is ignored
(let ((name (file-relative-name file)))
- (call-process "git" nil buf nil "
annotat
e" name)))
+ (call-process "git" nil buf nil "
blam
e" name)))
(defun vc-git-annotate-time ()
(defun vc-git-annotate-time ()
- (and (re-search-forward "[0-9a-f]+
\t(.*\t\\([0-9]+\\)-\\([0-9]+\\)-\\([0-9]+\\) \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) \\([-+0-9]+\\)\t
[0-9]+)" nil t)
+ (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)
(vc-annotate-convert-time
(apply #'encode-time (mapcar (lambda (match) (string-to-number (match-string match))) '(6 5 4 3 2 1 7))))))
(vc-annotate-convert-time
(apply #'encode-time (mapcar (lambda (match) (string-to-number (match-string match))) '(6 5 4 3 2 1 7))))))