Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ public: ...@@ -152,7 +152,7 @@ public:
} }
arguments << QLatin1String("--") << m_parameters.nameFilters; arguments << QLatin1String("--") << m_parameters.nameFilters;
QScopedPointer<VcsCommand> command(GitPlugin::client()->createCommand(m_directory)); QScopedPointer<VcsCommand> command(GitPlugin::client()->createCommand(m_directory));
command->addFlags(VcsCommand::SilentOutput); command->addFlags(VcsCommand::SilentOutput | VcsCommand::SuppressFailMessage);
command->setProgressiveOutput(true); command->setProgressiveOutput(true);
QFutureWatcher<FileSearchResultList> watcher; QFutureWatcher<FileSearchResultList> watcher;
watcher.setFuture(m_fi.future()); watcher.setFuture(m_fi.future());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment