Make sure .sh files always have LF line ending
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 27 Jan 2017 13:07:08 +0000 (14:07 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 27 Jan 2017 13:14:23 +0000 (14:14 +0100)
This removes the need to set core.autocrlf=input when compiling
Mono on Windows via cygwin.

.gitattributes

index 3fbe928cd147d1d905d27eb5c6792e9ea319814a..030bae51185ce6dc8f9e80a346eb8193cd3455d1 100644 (file)
@@ -1,11 +1,11 @@
 # ensure LF endings on all checkouts
 configure.ac crlf=input
+*.sh   crlf=input
 
 # ensure native line endings on checkout
 *.c    crlf
 *.h    crlf
 *.cs   crlf
-*.sh   crlf
 *.il   crlf
 
 .gitattributes crlf