From b26febac83bea8f7c73f4de6ae928ace99e9d697 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 1 Mar 2019 09:06:24 +0200 Subject: [PATCH] Git: Suppress command logging for "log" in fixup commit editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib4aee0a38f0e1cf8d2bdf1ae4884f8e75dbb5193 Reviewed-by: André Hartmann --- src/plugins/git/gitclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 9fdd6a27905..8dac6098973 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -2524,7 +2524,8 @@ bool GitClient::getCommitData(const QString &workingDirectory, // Run status. Note that it has exitcode 1 if there are no added files. QString output; if (commitData.commitType == FixupCommit) { - synchronousLog(repoDirectory, {HEAD, "--not", "--remotes", "-n1"}, &output, errorMessage); + synchronousLog(repoDirectory, {HEAD, "--not", "--remotes", "-n1"}, &output, errorMessage, + VcsCommand::SuppressCommandLogging); if (output.isEmpty()) { *errorMessage = msgNoCommits(false); return false;