From 1618db8856067a723dbe6cca91e66fb49536da9f Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sat, 10 Oct 2009 16:38:37 -0700 Subject: Add .gitattributes to fix CRLF problems on MinGW/MSYS Patch-by: Don Ward --- .gitattributes | 9 +++++++++ .gitignore | 1 + 2 files changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..49a0e1424 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index 5461bf8bf..dba263ac2 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ .libs TAGS *-stamp +!.gitattributes !.gitignore make.log /configure -- cgit