forked from qt-creator/qt-creator
Git: Do *not* use ctrlc stub for rev-list
It's a very short command, so the time penalty for spawning another
process doesn't worth the additional termination protection.
Amends commit 371e674967.
Change-Id: I151f0bc1838cd9ddbdf822cbe5cf8923da6a9499
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
7faad7b4e8
commit
adfb5062f4
@@ -885,7 +885,6 @@ void BranchModel::updateUpstreamStatus(BranchNode *node)
|
||||
process->setCommand({d->client->vcsBinary(), {"rev-list", "--no-color", "--left-right",
|
||||
"--count", node->fullRef() + "..." + node->tracking}});
|
||||
process->setWorkingDirectory(d->workingDirectory);
|
||||
process->setUseCtrlCStub(true);
|
||||
connect(process, &QtcProcess::done, this, [this, process, node] {
|
||||
process->deleteLater();
|
||||
if (process->result() != ProcessResult::FinishedWithSuccess)
|
||||
|
||||
Reference in New Issue
Block a user