overide --git diff option

Matt Mackall mpm at selenic.com
Tue Jan 22 14:48:47 CST 2008


On Tue, 2008-01-22 at 14:14 -0600, Steve Borho wrote:
> On Tue, 2008-01-22 at 14:46 -0500, Neal Becker wrote:
> > I have a global (.hgrc) 
> > [diff]
> > git=1
> > 
> > But I'm trying out some tool that wants unified diff.
> > 
> > Wish hg diff had an option.
> 
> There's always this syntax:
> 
> hg diff --config diff.git=0

We should probably explicitly document this trick in the [defaults]
section of hgrc.5.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list