| 1 |
# Properly detect languages on Github |
| 2 |
*.h linguist-language=C++ |
| 3 |
*.inc linguist-language=C++ |
| 4 |
thirdparty/* linguist-vendored |
| 5 |
|
| 6 |
# Normalize EOL for all files that Git considers text files |
| 7 |
* text=auto eol=lf |
| 8 |
# Except for Windows-only / Visual Studio files |
| 9 |
*.bat eol=crlf |
| 10 |
*.sln eol=crlf |
| 11 |
*.csproj eol=crlf |
| 12 |
misc/msvs/* eol=crlf |
| 13 |
# And some test files where the EOL matters |
| 14 |
*.test.txt -text |
| 15 |
|
| 16 |
# The above only works properly for Git 2.10+, so for older versions |
| 17 |
# we need to manually list the binary files we don't want modified. |
| 18 |
*.icns binary |
| 19 |
*.ico binary |
| 20 |
*.jar binary |
| 21 |
*.png binary |
| 22 |
*.ttf binary |
| 23 |
*.tza binary |