Browse Source

gitattributes: prefer `eol=lf` to `crlf=input`

The `crlf` attribute is deprecated in Git.
Ben Boeckel 8 years ago
parent
commit
d20485d8d9
2 changed files with 6 additions and 6 deletions
  1. 5 5
      .gitattributes
  2. 1 1
      Tests/CMakeTests/.gitattributes

+ 5 - 5
.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

+ 1 - 1
Tests/CMakeTests/.gitattributes

@@ -1 +1 @@
-File-HASH-Input.txt crlf=input
+File-HASH-Input.txt eol=lf