[INTERNAL] Line endings: Adds gitattribute to normalize line endings (#3062)

Several of the files have mixed line endings causing issues with PRs saying they changed the entire file instead of just 1 line. This is adding a gitattribute file that will force all the files to use the CRLF formatting. This also fixes all the .cs files to use the correct formatting.
This commit is contained in:
j82w 2022-03-03 12:09:51 -08:00 коммит произвёл GitHub
Родитель 63b0e07e73
Коммит af9b009971
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
47 изменённых файлов: 17142 добавлений и 17123 удалений

19
.gitattribute Normal file
Просмотреть файл

@ -0,0 +1,19 @@
# Declare files that will always have CRLF line endings on checkout
* text=auto
*.bmp binary
*.dll binary
*.gif binary
*.jpg binary
*.png binary
*.snk binary
*.exe binary
*.wmv binary
*.mp4 binary
*.ismv binary
*.isma binary
*.cs text diff=csharp eol=crlf
*.csproj text=auto
*.sln text=auto eol=crlf
*.sh text=auto eol=lf