From e20aa431edfa701d2fd621a105f40eb0b2a62a20 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 1 Oct 2017 12:54:28 +0300 Subject: [PATCH] ShellCommand: Apply progress parser also to stderr It is only used for Rebasing message in Git, which was moved from stdout to stderr on Git 2.12. Change-Id: I761cb7ac4e0d19fc28b323076dd3b0919535ed32 Reviewed-by: Tobias Hunger --- src/libs/utils/shellcommand.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/utils/shellcommand.cpp b/src/libs/utils/shellcommand.cpp index 6ea2099211e..2c0cdee7337 100644 --- a/src/libs/utils/shellcommand.cpp +++ b/src/libs/utils/shellcommand.cpp @@ -423,6 +423,8 @@ SynchronousProcessResponse ShellCommand::runSynchronous(const FileName &binary, connect(&process, &Utils::SynchronousProcess::stdErrBuffered, this, [this, proxy](const QString &text) { + if (d->m_progressParser) + d->m_progressParser->parseProgress(text); if (!(d->m_flags & SuppressStdErr)) proxy->appendError(text); if (d->m_progressiveOutput)