summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-08-23 13:21:56 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2017-08-23 13:30:00 -0400
commitd20485d8d983e1bc9de18289773168ddf2dafb6d (patch)
tree2bdf1760b751f8574689e85558188d24bb798f08 /.gitattributes
parentb85c2589a1a22fb46620d7b0fd8aa6ec28ac5670 (diff)
downloadcmake-d20485d8d983e1bc9de18289773168ddf2dafb6d.tar.gz
gitattributes: prefer `eol=lf` to `crlf=input`
The `crlf` attribute is deprecated in Git.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes10
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes
index 14aa49e907..0943bca495 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -8,11 +8,11 @@
# Do not perform whitespace checks. Do not format.
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
-bootstrap crlf=input
-configure crlf=input
-*.[1-9] crlf=input
-*.sh crlf=input
-*.sh.in crlf=input
+bootstrap eol=lf
+configure eol=lf
+*.[1-9] eol=lf
+*.sh eol=lf
+*.sh.in eol=lf
*.bat -crlf
*.bat.in -crlf