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

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

bug#23156: 24.5; Allow vc-git annotate command options to be altered eas


From: Dave Rolsky
Subject: bug#23156: 24.5; Allow vc-git annotate command options to be altered easily
Date: Tue, 29 Mar 2016 19:02:40 -0500 (CDT)
User-agent: Alpine 2.10 (DEB 1266 2009-07-14)

On Wed, 30 Mar 2016, Óscar Fuentes wrote:

Dave Rolsky <autarch@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)
============================================================*/

reply via email to

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