[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: diff settings
From: Keith Cascio <keith () CS ! UCLA ! EDU>
Date: 2009-01-31 23:10:16
Message-ID: alpine.GSO.2.00.0901311507350.10805 () kiwi ! cs ! ucla ! edu
[Download RAW message or body]
On Sat, 31 Jan 2009, Ted Pavlic wrote:
> As I already discussed, Mercurial has both "diff.primer" and "primer.diff"
> precisely because "diff" settings affects so many Hg commands.
Yes I remember you did mention that.
> In particular, in my .hgrc, I have:
> [diff]
> git = 1
> which causes all Mercurial commands that need to generate a diff to use
> gitdiff rather than truediff. However, if I *wanted* to apply a set of flags
> to a particular command, I could (using the equivalent "git" commands)...
> [defaults]
> pull = --rebase
> commit = -a
> format-patch = -M
> So I see a purpose for both *.defaults and defaults.*. Of course, aliases are
> also nice (IIRC, Mercurial doesn't have "aliases", but I could be wrong).
> Mercurial users are very happy with having both available. I imagine git
> people would be too.
I like it! I'm all for it. Perfect opportunity for future work. In fact, I
think I already glanced at the part of the code that's the right place to make
that stuff happen.
-- Keith
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic