Paul Irofti(p...@irofti.net) on 2017.05.26 14:26:46 +0300:
> On Fri, May 26, 2017 at 06:55:34AM -0400, Ted Unangst wrote:
> > let's say, hypothetically, you're working with a blasphemer who mails you a
> > git diff which looks a little like this:
> > 
> > diff --git a/d2/bar.c b/d2/bar.c
> > index 496ef02..51a910f 100644
> > --- a/d2/bar.c
> > +++ b/d2/bar.c
> 
> This is a stupid git setting indeed and I think it needs to be fixed by
> yelling at the user to issue
> 
> $ git config --global diff.noprefix true
> 
> The global flag is of course optional.
> 
> Our github mirror should include a .gitconfig file with that option set
> by default.

And there is http://www.openbsd.org/faq/faq5.html#Diff that mentions this
option (and git diff --relative).
 
> This of course does not mean that I oppose your diff. But I will not
> review it :)
> 

Reply via email to