2016-05-30 18:30:36 +02:00
|
|
|
# Properly detect languages on Github
|
|
|
|
*.h linguist-language=cpp
|
2016-07-03 15:17:25 +02:00
|
|
|
*.inc linguist-language=cpp
|
2019-05-22 09:10:47 +02:00
|
|
|
thirdparty/* linguist-vendored
|
2016-05-30 18:30:36 +02:00
|
|
|
|
2019-05-25 10:42:12 +02:00
|
|
|
# Normalize EOL for all files that Git considers text files
|
2019-05-22 09:10:47 +02:00
|
|
|
* text=auto eol=lf
|
2021-10-09 20:14:27 +02:00
|
|
|
# Except for bat files, which are Windows only files
|
|
|
|
*.bat eol=crlf
|
2022-07-31 18:46:53 +02:00
|
|
|
# And some test files where the EOL matters
|
|
|
|
*.test.txt -text
|
2024-04-10 16:59:57 +02:00
|
|
|
# And also the templates for Visual Studio files, which VS will always force CRLF on
|
|
|
|
/misc/msvs/*.template eol=crlf
|
2019-05-25 10:42:12 +02: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 09:49:19 +02:00
|
|
|
*.tza binary
|