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-ls-remote-script
diff --git
a/git-ls-remote-script
b/git-ls-remote-script
index 921d3f8462b9cd9b3046e667c87c69beefce722d..31cdac8bfed3837653d80828c7cf60647df0af07 100755
(executable)
--- a/
git-ls-remote-script
+++ b/
git-ls-remote-script
@@
-46,7
+46,7
@@
http://* | https://* )
if [ -n "$GIT_SSL_NO_VERIFY" ]; then
curl_extra_args="-k"
fi
- curl -ns $curl_extra_args "$peek_repo/info/refs" || exit 1
+ curl -ns
f
$curl_extra_args "$peek_repo/info/refs" || exit 1
;;
rsync://* )