On 13. mai 2010, at 03.38, Linus Torvalds wrote:
so now you can write:
*.jpg -text
*.txt text
*.vcproj eol=crlf
*.sh eol=lf
* text=auto
[...]
Doesn't that look finally sane?
Because if we really renaem the attributes, let's rename them _right_.
Beautiful.
Do you agree that "native" eol should only be CRLF if autocrlf is true? Otherwise, if .gitattributes looks like this:
*.txt text
git will put CRLFs in .txt files but LFs in .c files, and I don't think that makes much sense.
--
Eyvind