Merge pull request #3979 from radical/fix-xbuild-tgt
[mono.git] / .gitattributes
index 9f803813ed27451d773651c9ff76689009646408..3fbe928cd147d1d905d27eb5c6792e9ea319814a 100644 (file)
@@ -1,16 +1,22 @@
-#*.c   crlf
-#*.h   crlf
-#*.cs  crlf
-#*.sh  crlf
+# ensure LF endings on all checkouts
+configure.ac crlf=input
 
-#ChangeLog     crlf
-#*akefile*     crlf
-#*.sources     crlf
+# ensure native line endings on checkout
+*.c    crlf
+*.h    crlf
+*.cs   crlf
+*.sh   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
 # -------------