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

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

bug#19099: Diff options with vc-git


From: Eli Zaretskii
Subject: bug#19099: Diff options with vc-git
Date: Tue, 18 Nov 2014 21:17:53 +0200

> From: Glenn Morris <rgm@gnu.org>
> Date: Tue, 18 Nov 2014 14:09:53 -0500
> 
> IIUC there's basically no way to get this with git diff, I have to use
>   
>    difftool -x "diff -c"
> 
> (which seems to parse its -x argument on whitespace, yuck).
> 
> So, TLDR:
> 
> I'd like an option to call difftool instead of diff in vc-git-diff, please.
> If it was consistent with eg vc-svn, this would happen by default when
> vc-git-diff-switches was nil.

You can make an alias as described here:

  
http://stackoverflow.com/questions/3129514/how-to-make-git-diff-create-a-context-format-diff

and then invoke that alias instead of "diff".





reply via email to

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