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:
8
.gitattributes
vendored
8
.gitattributes
vendored
@@ -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
|
||||
|
@@ -1 +1 @@
|
||||
*.sln-file -crlf whitespace=cr-at-eol
|
||||
*.sln-file eol=crlf
|
||||
|
6
Tests/MFC/mfc1/.gitattributes
vendored
6
Tests/MFC/mfc1/.gitattributes
vendored
@@ -1,6 +0,0 @@
|
||||
.gitattributes export-ignore
|
||||
|
||||
*.sln -crlf
|
||||
*.vcproj -crlf
|
||||
|
||||
* -whitespace
|
2
Tests/MumpsCoverage/.gitattributes
vendored
2
Tests/MumpsCoverage/.gitattributes
vendored
@@ -1 +1 @@
|
||||
*.cmcov -crlf -whitespace
|
||||
*.cmcov eol=crlf
|
||||
|
Reference in New Issue
Block a user