summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index f2cf6ab63a..40a5e6183f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3,4 +3,13 @@
*.inc linguist-language=cpp
thirdparty/* linguist-vendored
+# Normalize EOL for all files that Git considers text files
* text=auto eol=lf
+
+# The above only works properly for Git 2.10+, so for older versions
+# we need to manually list the binary files we don't want modified.
+*.icns binary
+*.ico binary
+*.jar binary
+*.png binary
+*.ttf binary