handle https:// protocol in git-clone

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Michael Krelin 2006-08-07 17:10:21 +02:00 committed by Junio C Hamano
parent f25b79397c
commit b20805af60

View file

@ -298,7 +298,7 @@ yes,yes)
fi
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
;;
http://*)
https://*|http://*)
if test -z "@@NO_CURL@@"
then
clone_dumb_http "$repo" "$D"