Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization
flat view
From: Avery Pennarun <hidden>
Date: 2016-06-15 22:48:46
On Fri, May 7, 2010 at 5:12 PM, Nicolas Pitre [off-list ref] wrote:
On Fri, 7 May 2010, Avery Pennarun wrote:quoted
It has exactly the same syntax as ~/.gitconfig, and the options it does support can all be carried over literally to ~/.gitconfig.Absolutely not. Most options for ~/.gitconfig simply make no sense in a distributed .gitconfig file.
No, that's the converse of what I said.
Try this in your head:
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.
quoted
Calling it something else would imply that it deserves its own man page, which would need to repeat all the options that are already documented for ~/.gitconfig.No because most of those options don't and can't apply to a distributed option file.
But the ones that *do* apply all have the same meanings.
quoted
I'd say something that's syntactically identical, and in some cases actually interchangeable, should have the same name.Indeed. But this is not the case here.
Hmm, how to name the file is most a matter of opinion, but this last bit is just factual ;) They're syntactically identical. And in some cases, they're interchangeable. I don't see how one could argue otherwise. Have fun, Avery