Add .gitattributes to fix CRLF problems on MinGW/MSYS
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Sat, 10 Oct 2009 23:38:37 +0000 (16:38 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Sat, 10 Oct 2009 23:38:37 +0000 (16:38 -0700)
Patch-by: Don Ward <don2387ward@sprynet.com>
.gitattributes [new file with mode: 0644]
.gitignore

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..49a0e14
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# The following turn off LF->CRLF conversion for some files on Windows.
+# these conversions cause syntax errors on MinGW/MSYS.  They should not
+# have any effect on non-Windows systems or on Cygwin.  Any files that
+# required svn:eof-style=lf under subversion should be included here.
+#
+*.m4   -crlf
+*.ac   -crlf
+*.scm  -crlf
index 5461bf8bf37b0c9d17b201727961e7ce7cec6e66..dba263ac2390a610095a01829bbe41eb7ec33ac9 100644 (file)
@@ -24,6 +24,7 @@
 .libs
 TAGS
 *-stamp
+!.gitattributes
 !.gitignore
 make.log
 /configure