threads / patch / 5165

patchhandle https:// protocol in git-clone

Subject: [PATCH] handle https:// protocol in git-clone

## tl;dr

2 messages between Aug 7, 2006 and Aug 7, 2006. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Michael Krelin· Aug 7, 2006, 15:10 UTC · lore
---
 git-clone.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git-clone.sh +1 −1
diff --git a/git-clone.sh b/git-clone.sh
index acc7a51..7060bda 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -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"
-- 
1.4.1.1

Love,
H
Junio C Hamano· Aug 7, 2006, 18:35 UTC · re: Michael Krelin · lore

Re: [PATCH] handle https:// protocol in git-clone

Michael Krelin <hacker@klever.net> writes:
> ---
>  git-clone.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks. git-fetch and git-ls-remote already do so and it was a stupid omission not to do this in git-clone.

← back to recent threads