From 402bf7aec25d5224e1d725c551e8162420aaea29 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 11 Nov 2014 15:14:26 +0100 Subject: [PATCH] Fix cloning with mirrors Commit 486f5f37761 broke the cloning with one of the mirror options: git ls-remote git://mirror/qt/qtactiveqt.git.git test/if/mirror/exists fatal: The remote end hung up unexpectedly Change-Id: Ia154ee34dd10e35b24676777d8dde98ef0790ee1 Reviewed-by: Oswald Buddenhagen --- init-repository | 1 - 1 file changed, 1 deletion(-) diff --git a/init-repository b/init-repository index 4a01aa6d..0028b7bd 100755 --- a/init-repository +++ b/init-repository @@ -460,7 +460,6 @@ sub git_clone_one_submodule my $mirror; if ($mirror_url) { $mirror = $mirror_url.$repo_basename; - $mirror .= ".git" unless (-d $mirror); # Support local disk mirror } if ($mirror) {