help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-annotate / magit-blame considerations


From: Jacob Gerlach
Subject: Re: vc-annotate / magit-blame considerations
Date: Tue, 28 Apr 2015 11:58:08 -0400

On Tue, Apr 28, 2015 at 10:12 AM, Yuri D'Elia <wavexx@thregr.org> wrote:
> I actually disabled color-coding.

Well if you don't need that (and maybe you also don't care about
tracking line across file moves), how does this work for you?

(defun vc-git-annotate-command (file buf &optional rev)
  (let ((name (file-relative-name file)))
    (vc-git-command buf 'async nil "blame" "-s" "--abbrev=1" "--" name)))

Regards,
Jake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]