2023-04-10 23:51:39 +03:00
|
|
|
# Auto detect text files and perform LF normalization
|
|
|
|
* text=auto
|
|
|
|
|
2023-05-03 21:50:25 +03:00
|
|
|
# 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.
|
2023-05-04 02:50:18 +03:00
|
|
|
# To visualize ANSI control codes when diffing, first check that `cat --show-all` is supported,
|
|
|
|
# then run `git config --local "diff.cat-show-all.textconv" "cat --show-all"`
|
|
|
|
# which will add a [diff "cat-show-all"] section to the local .git/config file.
|
|
|
|
# This might not affect your Git GUI of choice, but it will affect Git's command line.
|
|
|
|
*.ans binary diff=cat-show-all
|
|
|
|
*.ANS binary diff=cat-show-all
|
|
|
|
*.nfo binary diff=cat-show-all
|
|
|
|
*.NFO binary diff=cat-show-all
|
2023-05-03 21:50:25 +03:00
|
|
|
|
2023-05-05 23:30:40 +03:00
|
|
|
# Localization data shouldn't affect the language statistics on GitHub.
|
|
|
|
# Note 1: This also makes the files not show in diffs on GitHub by default, which I don't necessarily want,
|
|
|
|
# but hopefully these files won't be changing much, and I'll put new localization data in a separate folder.
|
|
|
|
# Note 2: This shouldn't match files directly under the localization folder, which is actually what I want,
|
|
|
|
# since there is some python code in there! I probably should separate the data from the modules though.
|
|
|
|
# localization/* linguist-generated=... # Don't want to exclude python files!
|
|
|
|
localization/**/* linguist-generated=true
|
|
|
|
|
2023-04-10 23:51:39 +03:00
|
|
|
# Custom for Visual Studio
|
|
|
|
*.cs diff=csharp
|
|
|
|
*.sln merge=union
|
|
|
|
*.csproj merge=union
|
|
|
|
*.vbproj merge=union
|
|
|
|
*.fsproj merge=union
|
|
|
|
*.dbproj merge=union
|
|
|
|
|
|
|
|
# Standard to msysgit
|
|
|
|
*.doc diff=astextplain
|
|
|
|
*.DOC diff=astextplain
|
|
|
|
*.docx diff=astextplain
|
|
|
|
*.DOCX diff=astextplain
|
|
|
|
*.dot diff=astextplain
|
|
|
|
*.DOT diff=astextplain
|
|
|
|
*.pdf diff=astextplain
|
|
|
|
*.PDF diff=astextplain
|
|
|
|
*.rtf diff=astextplain
|
|
|
|
*.RTF diff=astextplain
|