summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-08-23 13:23:25 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2017-08-23 13:31:41 -0400
commit8ed03baa766b1170bcfa0574525dc16106bf5b5f (patch)
tree26a7683403db90aed1c8d6dbe9dc9fa701f69037 /.gitattributes
parent4047003161e0e1e5f9c68e04d3eec4caa97dc90a (diff)
downloadcmake-8ed03baa766b1170bcfa0574525dc16106bf5b5f.tar.gz
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.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitattributes b/.gitattributes
index 0943bca495..fd878ac082 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -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