summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes41
1 files changed, 41 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..21d46c5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,41 @@
+# set default behaviour, in case users don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files we want to always be normalized and converted
+# to native line endings on checkout.
+*.am text
+*.ac text
+*.m4 text
+*.in text
+
+*.c text
+*.cpp text
+*.h text
+*.hpp text
+
+*.fidl text
+*.java text
+*.xtend text
+
+*.html text
+*.xml text
+
+*.properties text
+
+AUTHORS text
+LICENSE text
+README text
+
+# Eclipse
+.autotools text
+.cproject text
+.project text
+org.eclipse.core.resources.prefs text
+*.MF text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.sln text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary