diff options
| author | Magnus Henoch <mange@freemail.hu> | 2008-07-02 11:56:11 +0000 |
|---|---|---|
| committer | Magnus Henoch <mange@freemail.hu> | 2008-07-02 11:56:11 +0000 |
| commit | fe71b53fcb2a858a0b758bd2841e4b9cdc607625 (patch) | |
| tree | 1d14cc550f98f159992c4585730874522fbf6d7b | |
| parent | d5e444179ac48a9af99263f75ba028b7193538ad (diff) | |
| download | emacs-fe71b53fcb2a858a0b758bd2841e4b9cdc607625.tar.gz | |
2008-07-02 Magnus Henoch <mange@freemail.hu>
* vc-git.el (vc-git-annotate-command): Use proper option for
specifying revision.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc-git.el | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49da9f16ad6..709a425c966 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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, diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 4c004dd1e35..842d7135448 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -539,9 +539,8 @@ or BRANCH^ (where \"^\" can be repeated)." 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)) |
