diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-10-26 15:11:16 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-27 01:32:27 +0200 |
commit | b86353b417e305b6acab4a670744c3309c948da4 (patch) | |
tree | 53b074aeecce842aaca174119c57b8cd140d4faa | |
parent | fea5e9c67fd67916b5f86b649114451785468c7a (diff) |
don't limit adding gerrit remotes to --nokia-developer
this was soooooo outdated! for ... days! :D
Change-Id: Ia8cd2b651f672fa65ccbe142699fbeb321413a04
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rwxr-xr-x | init-repository | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/init-repository b/init-repository index 3a2ed359..efd3cf55 100755 --- a/init-repository +++ b/init-repository @@ -570,7 +570,6 @@ sub git_clone_one_submodule my $mirror_webkit_url = $self->{ 'mirror-webkit-url' }; my $mirror_v8_url = $self->{ 'mirror-v8-url' }; my $protocol = $self->{ 'protocol' }; - my $nokia_developer = $self->{ 'nokia-developer' }; # `--reference FOO' args for the clone, if any. my @reference_args; @@ -622,7 +621,7 @@ sub git_clone_one_submodule $self->exe('git', 'remote', 'add', 'mirror', $mirror); } - $self->git_add_remotes($submodule) if $nokia_developer; + $self->git_add_remotes($submodule); if ($self->{'detach-alternates'}) { $self->exe('git', 'repack', '-a'); @@ -675,8 +674,6 @@ sub run { my ($self) = @_; - my $nokia_developer = $self->{ 'nokia-developer' }; - $self->check_if_already_initialized; $self->git_submodule_init; @@ -694,7 +691,7 @@ sub run $self->git_clone_all_submodules; } - $self->git_add_remotes('qt5') if $nokia_developer; + $self->git_add_remotes('qt5'); return; } |