changeset 96487:5b7442d7d9ce

2008-07-02 Magnus Henoch <mange@freemail.hu> * vc-git.el (vc-git-annotate-command): Use proper option for specifying revision.
author Magnus Henoch <mange@freemail.hu>
date Wed, 02 Jul 2008 11:56:11 +0000
parents 7369ded3b436
children a30459da1bd7
files lisp/ChangeLog lisp/vc-git.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jul 02 11:14:38 2008 +0000
+++ b/lisp/ChangeLog	Wed Jul 02 11:56:11 2008 +0000
@@ -1,3 +1,8 @@
+2008-07-02  Magnus Henoch  <mange@freemail.hu>
+
+    	* vc-git.el (vc-git-annotate-command): Use proper option for
+    	specifying revision.
+
 2008-07-02  Francesc Rocher  <rocher@member.fsf.org>
 
 	* startup.el (fancy-splash-head): Prefer SVG or PNG splash image,
--- a/lisp/vc-git.el	Wed Jul 02 11:14:38 2008 +0000
+++ b/lisp/vc-git.el	Wed Jul 02 11:56:11 2008 +0000
@@ -539,9 +539,8 @@
     table))
 
 (defun vc-git-annotate-command (file buf &optional rev)
-  ;; FIXME: rev is ignored
   (let ((name (file-relative-name file)))
-    (vc-git-command buf 0 name "blame" (if rev (concat "-r" rev)))))
+    (vc-git-command buf 0 name "blame" rev)))
 
 (declare-function vc-annotate-convert-time "vc-annotate" (time))