.gitattributes: force shell scripts to LF

Bash on Linux errors out on CR characters.
This makes tests 1221 and 1222 pass on Linux with a CRLF checkout.

Ref: https://github.com/curl/curl/pull/1344#issuecomment-289243166
Closes https://github.com/curl/curl/pull/1422
This commit is contained in:
Marcel Raad 2017-04-15 00:10:27 +02:00
parent 05c9f42e52
commit a0576e2f36
No known key found for this signature in database
GPG Key ID: B4668817AE6D6CD4
2 changed files with 2 additions and 0 deletions

1
.gitattributes vendored
View File

@ -4,3 +4,4 @@ configure.ac eol=lf
*.m4 eol=lf *.m4 eol=lf
*.in eol=lf *.in eol=lf
*.am eol=lf *.am eol=lf
*.sh eol=lf

1
lib/.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
objnames.inc eol=lf