Skip to contentSkip to conversation

handle https:// protocol in git-clone

PATCH In review Michael Krelin 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 handle https:// protocol in git-clone

---
 git-clone.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-clone.sh +1 -1
index acc7a51..7060bda 100755
@@ -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"
Signature · 4 lines
1.4.1.1

Love,
H
#1 lore raw
Quoted 3 lines · Michael Krelin
---
 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.