Always use LF line endings for config.rpath/configure.host as well
[mono.git] / .gitattributes
index 9f803813ed27451d773651c9ff76689009646408..63ec9a98c90bf42fadbe32267914c829dc056260 100644 (file)
@@ -1,16 +1,24 @@
-#*.c   crlf
-#*.h   crlf
-#*.cs  crlf
-#*.sh  crlf
+# ensure LF endings on all checkouts
+configure.ac   crlf=input
+config.rpath   crlf=input
+configure.host crlf=input
+*.sh   crlf=input
 
-#ChangeLog     crlf
-#*akefile*     crlf
-#*.sources     crlf
+# ensure native line endings on checkout
+*.c    crlf
+*.h    crlf
+*.cs   crlf
+*.il   crlf
 
-# don't do anything to line-endings.  Let CRLFs go into the repo
+.gitattributes crlf
+*akefile*      crlf
+*.sources      crlf
+
+# don't do anything to line-endings.  Let CRLFs go into the repo, and CRLF on checkout
 *.bat          -crlf
 *.sln          -crlf
 *.*proj*       -crlf
+*.xml          -crlf
 
 # CRLF Handling
 # -------------