Disable line ending normalization for ANSI files

This commit is contained in:
Isaiah Odhner 2023-05-03 14:50:25 -04:00
parent 799ec9944a
commit 1eccb1b98a

8
.gitattributes vendored
View File

@ -1,6 +1,14 @@
# Auto detect text files and perform LF normalization
* text=auto
# Prevent line ending normalization for ANSI files,
# since it's important to distinguish carriage return and line feed characters,
# and either may be used without the other.
*.ans binary
*.ANS binary
*.nfo binary
*.NFO binary
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union