Fixes mixed line ending.
[mono.git] / .gitattributes
index 517c538d8c0854a00c8f2a5512ea50abc4563839..c2ffa053adac2b22d6813980b97da96b9f14d4fd 100644 (file)
@@ -1,13 +1,19 @@
+# ensure LF endings on all checkouts
+configure.in crlf=input
+
+# ensure native line endings on checkout
 *.c    crlf
 *.h    crlf
 *.cs   crlf
 *.sh   crlf
+*.il   crlf
 
+.gitattributes crlf
 ChangeLog      crlf
 *akefile*      crlf
 *.sources      crlf
 
-# don't do anything to line-endings.  Let CRLFs go into the repo
+# don't do anything to line-endings.  Let CRLFs go into the repo, and CRLF on checkout
 *.bat          -crlf
 *.sln          -crlf
 *.*proj*       -crlf