handle https:// protocol in git-clone
Signed-off-by: Junio C Hamano <junkio@cox.net>
Michael Krelin committed
Aug 7, 2006 at 17:10 UTC
b20805af603380c3abfc1b2e7859d28185e397f1
1 file changed
+1
-1
git-clone.sh
+1
-1
@@ -298,7 +298,7 @@ yes,yes)
298
fi
299
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
300
;;
301
- http://*)
301
+ https://*|http://*)
302
if test -z "@@NO_CURL@@"
303
then
304
clone_dumb_http "$repo" "$D"