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

2 messages from 2006-08-07 to 2006-08-07. Participants: Michael Krelin, Junio C Hamano.
Thread: https://gitlist.dev/t/5165

## Michael Krelin, 2006-08-07 15:10

Subject: [PATCH] handle https:// protocol in git-clone
Message-ID: <20060807151021.GF21051@argo.zzZZzz.net>
URL: https://gitlist.dev/e/20060807151021.GF21051%40argo.zzZZzz.net

```
---
 git-clone.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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, 2006-08-07 18:35

Subject: Re: [PATCH] handle https:// protocol in git-clone
Message-ID: <7v1wrs4cn2.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v1wrs4cn2.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20060807151021.GF21051@argo.zzZZzz.net>

```
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.

```
