2016-05-30 16:30:36 +00:00
|
|
|
# Properly detect languages on Github
|
2022-09-16 12:44:21 +00:00
|
|
|
*.h linguist-language=C++
|
|
|
|
*.inc linguist-language=C++
|
2019-05-22 07:10:47 +00:00
|
|
|
thirdparty/* linguist-vendored
|
2016-05-30 16:30:36 +00:00
|
|
|
|
2019-05-25 08:42:12 +00:00
|
|
|
# Normalize EOL for all files that Git considers text files
|
2019-05-22 07:10:47 +00:00
|
|
|
* text=auto eol=lf
|
2024-05-02 20:12:49 +00:00
|
|
|
# Except for Windows-only / Visual Studio files
|
2021-10-09 18:14:27 +00:00
|
|
|
*.bat eol=crlf
|
2024-05-02 20:12:49 +00:00
|
|
|
*.sln eol=crlf
|
|
|
|
*.csproj eol=crlf
|
|
|
|
misc/msvs/*.template eol=crlf
|
2022-07-31 16:46:53 +00:00
|
|
|
# And some test files where the EOL matters
|
|
|
|
*.test.txt -text
|
2019-05-25 08:42:12 +00:00
|
|
|
|
|
|
|
# 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
|
2020-05-12 07:49:19 +00:00
|
|
|
*.tza binary
|