Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- May 7, 2010, 22:10 UTC
- Message-ID
- <o2l32541b131005071510x492269dz84e9cc35bfa04942@mail.gmail.com>
- In-Reply-To
- <4BE48F84.3050200@gmail.com>
On Fri, May 7, 2010 at 6:09 PM, A Large Angry SCM <gitzilla@gmail.com> wrote:
Show 9 quoted lines
> Avery Pennarun wrote: >> cp .gitconfig .git/config >> >> Perfectly valid. Copying the other way might (or might not) result in >> invalid options in .gitconfig, which probably ought to be warned >> about. But the syntax is obviously identical. > > Which one takes precedence? I *MUST* be able to override a distributed > .gitconfig/.gitparams/.gitparameters file.
Yes, absolutely. As Linus said, the in-project file is lower priority than your .git/config and ~/.gitconfig files.
Avery