[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:
Родитель
63b0e07e73
Коммит
af9b009971
|
@ -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
|
Загрузка…
Ссылка в новой задаче