From adfb5062f473cbc501ad7e0477498b954ff43329 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 13 Feb 2023 20:38:06 +0200 Subject: [PATCH] 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 371e674967af97cf28e2425a0b98b80a87159f09. Change-Id: I151f0bc1838cd9ddbdf822cbe5cf8923da6a9499 Reviewed-by: Jarek Kobus --- src/plugins/git/branchmodel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/git/branchmodel.cpp b/src/plugins/git/branchmodel.cpp index 0ec37b7a453..cb051693d6d 100644 --- a/src/plugins/git/branchmodel.cpp +++ b/src/plugins/git/branchmodel.cpp @@ -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)