Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- May 7, 2010, 19:16 UTC
- Message-ID
- <alpine.LFD.2.00.1005071213550.901@i5.linux-foundation.org>
- In-Reply-To
- <n2k32541b131005071211sb2411334v4f0919abfeb4cbb7@mail.gmail.com>
On Fri, 7 May 2010, Avery Pennarun wrote:
> > Unfortunately this option wouldn't be as flexible as Eyvind's current proposal.
Oh, absolutely it is.
> What his method allows is to mark some files in a project as "these > should be the native EOL style" and others as "these should be left > alone."
But that's what a .gitconfig would too. We _already_ have that .gitattribute thing to then distinguish particular pathname rules. It's just that currently .git/config is needed to _enable_ it.
Linus