forked from qt-creator/qt-creator
Git: Suppress failure message on grep
It fails when no results are found. Change-Id: I3390f1119457bb47fb09a95a395cb68a0dd58e82 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
5afd2d550e
commit
754b8ededb
@@ -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());
|
||||||
|
Reference in New Issue
Block a user