Ensure all Visual Studio files are generated with CRLF

This commit is contained in:
Andreia Gaita
2024-04-10 16:59:57 +02:00
parent 1f0f81049f
commit 536ca28ea9
6 changed files with 26 additions and 18 deletions

2
.gitattributes vendored
View File

@@ -9,6 +9,8 @@ thirdparty/* linguist-vendored
*.bat eol=crlf
# And some test files where the EOL matters
*.test.txt -text
# And also the templates for Visual Studio files, which VS will always force CRLF on
/misc/msvs/*.template eol=crlf
# The above only works properly for Git 2.10+, so for older versions
# we need to manually list the binary files we don't want modified.