diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-05-03 22:03:01 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-05-04 02:58:03 +0000 |
commit | 754b8ededb0f152b914d9b141142de7440e4eb74 (patch) | |
tree | 33c1b79213d4f01fceeb8850d78b9ccb88462583 /src/plugins/git/gitgrep.cpp | |
parent | 5afd2d550e4a4c7532742e05e984e6b572a36ca8 (diff) |
Git: Suppress failure message on grep
It fails when no results are found.
Change-Id: I3390f1119457bb47fb09a95a395cb68a0dd58e82
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/git/gitgrep.cpp')
-rw-r--r-- | src/plugins/git/gitgrep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitgrep.cpp b/src/plugins/git/gitgrep.cpp index b13414a0b0c..5299a5bec4f 100644 --- a/src/plugins/git/gitgrep.cpp +++ b/src/plugins/git/gitgrep.cpp @@ -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()); |