]> granicus.if.org Git - curl/commitdiff
.gitattributes: force shell scripts to LF
authorMarcel Raad <raad@teamviewer.com>
Fri, 14 Apr 2017 22:10:27 +0000 (00:10 +0200)
committerMarcel Raad <raad@teamviewer.com>
Mon, 17 Apr 2017 06:32:13 +0000 (08:32 +0200)
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

.gitattributes
lib/.gitattributes [new file with mode: 0644]

index e84adeec3e9b4665c3357cf85876ee0ac5e19ba7..429f8cde05a907a9fba3dc04de1b64683c2913ea 100644 (file)
@@ -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 (file)
index 0000000..563eba7
--- /dev/null
@@ -0,0 +1 @@
+objnames.inc eol=lf