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:
Orgad Shaneh
2016-07-19 09:08:29 +03:00
committed by Orgad Shaneh
parent fae08f5c7c
commit b55e06716b

View File

@@ -144,6 +144,7 @@ Core::ShellCommand *GitVersionControl::createInitialCheckoutCommand(const QStrin
args << QLatin1String("clone") << QLatin1String("--progress") << extraArgs << url << localName;
auto command = new VcsBase::VcsCommand(baseDirectory.toString(), m_client->processEnvironment());
command->addFlags(VcsBase::VcsCommand::SuppressStdErr);
command->addJob(m_client->vcsBinary(), args, -1);
return command;
}