Commit 754b8ede authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Suppress failure message on grep



It fails when no results are found.

Change-Id: I3390f1119457bb47fb09a95a395cb68a0dd58e82
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
parent 5afd2d55
......@@ -152,7 +152,7 @@ public:
}
arguments << QLatin1String("--") << m_parameters.nameFilters;
QScopedPointer<VcsCommand> command(GitPlugin::client()->createCommand(m_directory));
command->addFlags(VcsCommand::SilentOutput);
command->addFlags(VcsCommand::SilentOutput | VcsCommand::SuppressFailMessage);
command->setProgressiveOutput(true);
QFutureWatcher<FileSearchResultList> watcher;
watcher.setFuture(m_fi.future());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment