Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBJ Hargrave2011-09-28 19:48:06 +0000
committerBJ Hargrave2011-09-28 19:48:06 +0000
commitd249f83a5e4036c3eedb6592d9a4b7e7ad62eeb9 (patch)
treef18c5ec26affa956c041895e5acb17c821db87bd
parent535de4ae8d86f68ac734d6a392c55f672fa0a61f (diff)
downloadrt.equinox.framework-d249f83a5e4036c3eedb6592d9a4b7e7ad62eeb9.tar.gz
rt.equinox.framework-d249f83a5e4036c3eedb6592d9a4b7e7ad62eeb9.tar.xz
rt.equinox.framework-d249f83a5e4036c3eedb6592d9a4b7e7ad62eeb9.zip
Mark text files and set EOL for them to LF
-rw-r--r--.gitattributes60
1 files changed, 60 insertions, 0 deletions
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

Back to the top