mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
1418f97c70
This was removed in #63481, and we confirmed that it's better like this, but we add back the possibility to strip CR as an option, to optionally restore the previous behavior. For performance this is done directly in `String::parse_utf8`. Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR. Supersedes #63717.
21 lines
549 B
Plaintext
21 lines
549 B
Plaintext
# Properly detect languages on Github
|
|
*.h linguist-language=cpp
|
|
*.inc linguist-language=cpp
|
|
thirdparty/* linguist-vendored
|
|
|
|
# Normalize EOL for all files that Git considers text files
|
|
* text=auto eol=lf
|
|
# Except for bat files, which are Windows only files
|
|
*.bat eol=crlf
|
|
# And some test files where the EOL matters
|
|
*.test.txt -text
|
|
|
|
# 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
|
|
*.tza binary
|