BUG 2298: Ask Git to normalize line endings
[controller.git] / .gitattributes
diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..969d3a6
--- /dev/null
@@ -0,0 +1,64 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+*.gif binary
+*.jar binary
+*.ico binary
+*.dat binary
+*MessagesData binary
+*TestData binary
+
+# Explicitly declare text files you want to always be normalized and
+# converted to native line endings on checkout. Here file extensions are
+# declared.
+*.py text
+*.txt text
+*.java text
+*.jsp text
+*.xtend text
+*.xml text
+*.xml2 text
+*.xsd text
+*.yang text
+*.conf text
+*.properties text
+*.html text
+*.css text
+*.js text
+*.jj text
+*.json text
+*.tooling text
+*.factories text
+*.handlers text
+*.schemas text
+*.proto text
+*.less text
+*.sh text
+*.bat text
+*.ini text
+*.cfg text
+*.launch text
+*.target text
+
+# In this section individual file names and other weird file patterns are
+# declared.
+COPYING text
+LICENSE text
+NOTICE text
+README text
+README.OPENDAYLIGHT text
+README-* text
+README_* text
+Makefile text
+.git* text
+*-ok text
+*-fail text
+*-module text
+.checkstyle text
+karaf text
+instance text
+setenv text
+RSA.pk text