From: Marcel Raad Date: Fri, 14 Apr 2017 22:10:27 +0000 (+0200) Subject: .gitattributes: force shell scripts to LF X-Git-Tag: curl-7_54_0~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0576e2f362bc1a1adee22c924ce33710a69559f;p=curl .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 --- diff --git a/.gitattributes b/.gitattributes index e84adeec3..429f8cde0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ configure.ac eol=lf *.m4 eol=lf *.in eol=lf *.am eol=lf +*.sh eol=lf diff --git a/lib/.gitattributes b/lib/.gitattributes new file mode 100644 index 000000000..563eba7fd --- /dev/null +++ b/lib/.gitattributes @@ -0,0 +1 @@ +objnames.inc eol=lf