apply consistent whitespace normalization for project files to avoid noise when VS2017 decides to change EOL. (#1658)

This commit is contained in:
Matt Hargett 2018-02-21 01:47:32 -08:00 коммит произвёл Eric Rozell
Родитель 7a2c7c755a
Коммит a21611b17f
1 изменённых файлов: 24 добавлений и 0 удалений

24
.gitattributes поставляемый Normal file
Просмотреть файл

@ -0,0 +1,24 @@
# Auto detect text files and perform LF normalization
* text=auto
# Force Visual Studio project files (mostly XML) to CRLF
# This helps avoid conflict which occurs when Xmarian/Mac contributors with AutoCRLF=input (or off)
# check in these files as CRLFs, and then Windows contributors with AutoCRLF=true end up checking then
# files in as LFs (due to AutoCRLF=true normalizing CRLF->LF on check-in).
*.sln text eol=crlf
*.csproj text eol=crlf
*.vbproj text eol=crlf
*.fsproj text eol=crlf
*.pyproj text eol=crlf
*.dbproj text eol=crlf
*.vcxproj text eol=crlf
*.shproj text eol=crlf
*.projitems text eol=crlf
*.vcxitems text eol=crlf
*.props text eol=crlf
*.filters text eol=crlf