handle https:// protocol in git-clone
Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
f25b79397c
commit
b20805af60
|
|
@ -298,7 +298,7 @@ yes,yes)
|
||||||
fi
|
fi
|
||||||
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
|
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
|
||||||
;;
|
;;
|
||||||
http://*)
|
https://*|http://*)
|
||||||
if test -z "@@NO_CURL@@"
|
if test -z "@@NO_CURL@@"
|
||||||
then
|
then
|
||||||
clone_dumb_http "$repo" "$D"
|
clone_dumb_http "$repo" "$D"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue