From d249f83a5e4036c3eedb6592d9a4b7e7ad62eeb9 Mon Sep 17 00:00:00 2001 From: BJ Hargrave Date: Wed, 28 Sep 2011 15:48:06 -0400 Subject: Mark text files and set EOL for them to LF --- .gitattributes | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..0a6421b54 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,60 @@ +# Text files with LF eol +*.awk crlf=input +*.bnd crlf=input +*.c crlf=input ident +*.conf crlf=input +*.cpp crlf=input ident +*.css crlf=input +*.groovy crlf=input +*.h crlf=input ident +*.html crlf=input ident +*.java crlf=input ident +*.js crlf=input +*.MF crlf=input +*.php crlf=input +*.pl crlf=input +*.prefs crlf=input +*.properties crlf=input +*.py crlf=input +*.schema crlf=input +*.sh crlf=input +*.tcl crlf=input +*.txt crlf=input +*.xml crlf=input +*.xsd crlf=input ident +*.xsl crlf=input +*.xslt crlf=input +.classpath crlf=input +.project crlf=input +packageinfo crlf=input +Makefile crlf=input + +# No EOL translation +*.bat -crlf + +# Binary. No EOL translation, no diff +*.ico binary +*.jpeg binary +*.jpg binary +*.png binary +*.crt binary +*.pdf binary +*.dll binary +*.jar binary +*.jnilib binary +*.so binary +*.zip binary +*.doc binary +*.ppt binary +*.xls binary +*.odg binary +*.odp binary +*.ods binary +*.odt binary +*.otg binary +*.otp binary +*.ots binary +*.ott binary +*.key binary +*.numbers binary +*.pages binary -- cgit v1.2.3