mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 02:17:27 +08:00
gitattributes: prefer eol=lf
to crlf=input
The `crlf` attribute is deprecated in Git.
This commit is contained in:
10
.gitattributes
vendored
10
.gitattributes
vendored
@@ -8,11 +8,11 @@
|
|||||||
# Do not perform whitespace checks. Do not format.
|
# Do not perform whitespace checks. Do not format.
|
||||||
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
|
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
|
||||||
|
|
||||||
bootstrap crlf=input
|
bootstrap eol=lf
|
||||||
configure crlf=input
|
configure eol=lf
|
||||||
*.[1-9] crlf=input
|
*.[1-9] eol=lf
|
||||||
*.sh crlf=input
|
*.sh eol=lf
|
||||||
*.sh.in crlf=input
|
*.sh.in eol=lf
|
||||||
|
|
||||||
*.bat -crlf
|
*.bat -crlf
|
||||||
*.bat.in -crlf
|
*.bat.in -crlf
|
||||||
|
2
Tests/CMakeTests/.gitattributes
vendored
2
Tests/CMakeTests/.gitattributes
vendored
@@ -1 +1 @@
|
|||||||
File-HASH-Input.txt crlf=input
|
File-HASH-Input.txt eol=lf
|
||||||
|
Reference in New Issue
Block a user