1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

gitattributes: prefer eol=crlf to -crlf

The `crlf` attribute is deprecated in Git. This also changes the given
files to be in the index using LF newlines, but they will be checked
out with CRLF newlines due to the attribute.
This commit is contained in:
Ben Boeckel
2017-08-23 13:23:25 -04:00
parent 4047003161
commit 8ed03baa76
8 changed files with 22 additions and 28 deletions

8
.gitattributes vendored
View File

@@ -14,10 +14,10 @@ configure eol=lf
*.sh eol=lf
*.sh.in eol=lf
*.bat -crlf
*.bat.in -crlf
*.sln -crlf
*.vcproj -crlf
*.bat eol=crlf
*.bat.in eol=crlf
*.sln eol=crlf
*.vcproj eol=crlf
*.pfx -text
*.png -text

View File

@@ -1 +1 @@
*.sln-file -crlf whitespace=cr-at-eol
*.sln-file eol=crlf

View File

@@ -1,6 +0,0 @@
.gitattributes export-ignore
*.sln -crlf
*.vcproj -crlf
* -whitespace

View File

@@ -1 +1 @@
*.cmcov -crlf -whitespace
*.cmcov eol=crlf