summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-08-23 17:23:25 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2017-08-23 17:31:41 (GMT)
commit8ed03baa766b1170bcfa0574525dc16106bf5b5f (patch)
tree26a7683403db90aed1c8d6dbe9dc9fa701f69037 /.gitattributes
parent4047003161e0e1e5f9c68e04d3eec4caa97dc90a (diff)
downloadCMake-8ed03baa766b1170bcfa0574525dc16106bf5b5f.zip
CMake-8ed03baa766b1170bcfa0574525dc16106bf5b5f.tar.gz
CMake-8ed03baa766b1170bcfa0574525dc16106bf5b5f.tar.bz2
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 0943bca..fd878ac 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