summaryrefslogtreecommitdiff
path: root/init-repository
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2014-11-11 15:14:26 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-11-12 10:49:07 +0100
commit402bf7aec25d5224e1d725c551e8162420aaea29 (patch)
tree2485efe5882d307c728ea565210c1113d3e251d1 /init-repository
parent8f35cb288615801ae09e5a4a294d6848bd5c33be (diff)
downloadqt5-402bf7aec25d5224e1d725c551e8162420aaea29.tar.gz
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 <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'init-repository')
-rwxr-xr-xinit-repository1
1 files changed, 0 insertions, 1 deletions
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) {