GNU bug report logs - #23156
24.5; Allow vc-git annotate command options to be altered easily

Previous Next

Package: emacs;

Reported by: Dave Rolsky <autarch <at> urth.org>

Date: Tue, 29 Mar 2016 23:07:01 UTC

Severity: normal

Found in version 24.5

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 23156 <at> debbugs.gnu.org (full text, mbox):

From: Dave Rolsky <autarch <at> urth.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 23156 <at> debbugs.gnu.org
Subject: Re: bug#23156: 24.5; Allow vc-git annotate command options to be
 altered easily
Date: Tue, 29 Mar 2016 19:02:40 -0500 (CDT)
[Message part 1 (text/plain, inline)]
On Wed, 30 Mar 2016, Óscar Fuentes wrote:

> Dave Rolsky <autarch <at> urth.org> writes:
>
>> It'd be nice to be able to easily alter the options passed to "git
>> annotate".
>>
>> The default value of "-C -C" makes this incredibly slow in large code
>> bases with many files.
>
> The upcoming version 25 of Emacs has `vc-git-annotate-switches':
>
>
>  (defcustom vc-git-annotate-switches nil
>    "String or list of strings specifying switches for Git blame under VC.
>  If nil, use the value of `vc-annotate-switches'.  If t, use no switches."
>
>
> The "-C -C" option is also gone.
>
> Is this good enough?

Yes, this is great!

For now I'm just overriding the function in my .emacs after "(require 
'vc-git)"


Cheers,

-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

This bug report was last modified 9 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.