Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Make curl fail on server error
[gitweb.git]
/
git-clone-dumb-http
diff --git
a/git-clone-dumb-http
b/git-clone-dumb-http
index 8203c67626f45b2c9363b5e5b7bc47df5647490f..50527086a09944c94a0d00b2b8eaf9cb8afaf5fb 100755
(executable)
--- a/
git-clone-dumb-http
+++ b/
git-clone-dumb-http
@@
-14,7
+14,7
@@
if [ -n "$GIT_SSL_NO_VERIFY" ]; then
fi
http_fetch () {
# $1 = Remote, $2 = Local
- curl -ns $curl_extra_args "$1" >"$2"
+ curl -ns
f
$curl_extra_args "$1" >"$2"
}
cd "$D" &&