diff options
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/.gitattributes b/.gitattributes index 47ba2b45bb..40a5e6183f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,12 +1,15 @@ # Properly detect languages on Github *.h linguist-language=cpp *.inc linguist-language=cpp -drivers/* linguist-vendored +thirdparty/* linguist-vendored -*.cpp eol=lf -*.mm eol=lf -*.h eol=lf -*.py eol=lf -*.hpp eol=lf -*.xml eol=lf -*.natvis eol=lf +# 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 |