# Set default behaviour to automatically normalize line endings.
* text=auto

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
*.py text eol=lf

# windows line-endings
*.csproj    text eol=crlf
*.vcproj    text eol=crlf
*.vcxproj   text eol=crlf
*.sln       text eol=crlf

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.gif  binary
*.ico  binary
*.jpg  binary
*.jpeg binary
*.png  binary
*.xlsx binary

# Define diff and merge strategies.
*.cs     diff=csharp
*.sln    merge=union
*.csproj merge=union
*.vbproj merge=union
*.vcxproj merge=union
*.fsproj merge=union
*.dbproj merge=union
