Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http-push: disable http-push without USE_CURL_MULTI
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index 55d0c944ae806b5322cba629aa6c5207afbafcfd..eef767453d20451550229f7b1a359d66f8b1316f 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-2212,6
+2212,10
@@
int main(int argc, char **argv)
break;
}
+#ifndef USE_CURL_MULTI
+ die("git-push is not available for http/https repository when not compiled with USE_CURL_MULTI");
+#endif
+
if (!remote->url)
usage(http_push_usage);