forked from qt-creator/qt-creator
Git: Suppress stderr output (for the output pane) on clone
It already appears in the wizard. No need to duplicate. Change-Id: I74b1f7d9d5be44e95965bf2af3fee9727372995a Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
fae08f5c7c
commit
b55e06716b
@@ -144,6 +144,7 @@ Core::ShellCommand *GitVersionControl::createInitialCheckoutCommand(const QStrin
|
|||||||
args << QLatin1String("clone") << QLatin1String("--progress") << extraArgs << url << localName;
|
args << QLatin1String("clone") << QLatin1String("--progress") << extraArgs << url << localName;
|
||||||
|
|
||||||
auto command = new VcsBase::VcsCommand(baseDirectory.toString(), m_client->processEnvironment());
|
auto command = new VcsBase::VcsCommand(baseDirectory.toString(), m_client->processEnvironment());
|
||||||
|
command->addFlags(VcsBase::VcsCommand::SuppressStdErr);
|
||||||
command->addJob(m_client->vcsBinary(), args, -1);
|
command->addJob(m_client->vcsBinary(), args, -1);
|
||||||
return command;
|
return command;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user