Re: mingw, windows, crlf/lf, and git
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 13, 2007, 18:39 UTC
- Message-ID
- <Pine.LNX.4.64.0702131037330.8424@woody.linux-foundation.org>
- In-Reply-To
- <Pine.LNX.4.63.0702131901040.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Tue, 13 Feb 2007, Johannes Schindelin wrote:
> > No hooks means something like cvsnt does, and that means no .gitattributes > either. (BTW I really hate .gitattributes, as it does not at all say what > this is about; it's about file _conversions_, not attributes).
No, it *is* about attributes.
In order to know how to convert, you need to know the attributes of the file.
So it's not about conversion: we would ALWAYS do conversion. It's about the fact that in order to do the conversion, we need to know what the attributes of the file is - is it text, or what.
And the equal point is that there are _other_ attributes that git might care about. The "merge strategy" attribute, for example. Or "owner" attributes for files etc.
Linus