mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
don't fetch again when updating submodules
we already did it a moment ago. this should affect only the --remote case, but there is no harm in always specifying it. Change-Id: I3ef0854c790726772fb63ab7829b59ef85ac4f18 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
committed by
Simon Hausmann
parent
9ebad7830d
commit
34c7caab3f
@@ -402,7 +402,7 @@ sub git_clone_all_submodules
|
||||
}
|
||||
}
|
||||
if ($self->{update}) {
|
||||
my @cmd = ('git', 'submodule', 'update');
|
||||
my @cmd = ('git', 'submodule', 'update', '--no-fetch');
|
||||
push @cmd, '--remote', '--rebase' if ($co_branch);
|
||||
$self->exe(@cmd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user