X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=git-clone.sh;h=e192b08c0dc3ab410e371fe07af96b9b5b59f22a;hb=a49dd05fd047f504a74fb053bb8ddbb9e4bd152b;hp=47f3ec9761ba3e681e3035e6ae1c7449a6177a5e;hpb=e6489a1bdf6e20371e6cd6497918f1c1198d5f81;p=git.git diff --git a/git-clone.sh b/git-clone.sh index 47f3ec976..e192b08c0 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -206,7 +206,13 @@ yes,yes) fi ;; http://*) - clone_dumb_http "$repo" "$D" + if test -z "@@NO_CURL@@" + then + clone_dumb_http "$repo" "$D" + else + echo >&2 "http transport not supported, rebuild Git with curl support" + exit 1 + fi ;; *) cd "$D" && case "$upload_pack" in