diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 17b59e71c3d042778e4dac872a0847d617000f1e..c0312e2bdb77aaad0741298ba3b1d755d41e77f4 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -871,8 +871,12 @@ static SynchronousProcessResponse runVcsFullySynchronously(const QString &workin if (!stdOut.isEmpty()) { response.stdOut = (outputCodec ? outputCodec->toUnicode(stdOut) : QString::fromLocal8Bit(stdOut)) .remove(QLatin1Char('\r')); - if (flags & VcsBasePlugin::ShowStdOutInLogWindow) - outputWindow->append(response.stdOut); + if (flags & VcsBasePlugin::ShowStdOutInLogWindow) { + if (flags & VcsBasePlugin::SilentOutput) + outputWindow->appendSilently(response.stdOut); + else + outputWindow->append(response.stdOut); + } } // Result diff --git a/src/plugins/vcsbase/vcsbaseplugin.h b/src/plugins/vcsbase/vcsbaseplugin.h index 2e6a87057518b63f2e8907dd75edcb0359915c1d..8c1f5fe39b191a0454c985d8b3e1c86413db9c78 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.h +++ b/src/plugins/vcsbase/vcsbaseplugin.h @@ -166,7 +166,8 @@ public: ForceCLocale = 0x80, // Force C-locale for commands whose output is parsed. FullySynchronously = 0x100, // Suppress local event loop (in case UI actions are // triggered by file watchers). - ExpectRepoChanges = 0x200 // Expect changes in repository by the command + ExpectRepoChanges = 0x200, // Expect changes in repository by the command + SilentOutput = 0x400 // With ShowStdOutInLogWindow - append output silently }; static Utils::SynchronousProcessResponse runVcs(const QString &workingDir,