forked from qt-creator/qt-creator
Git: Suppress command logging for "log" in fixup commit editor
Change-Id: Ib4aee0a38f0e1cf8d2bdf1ae4884f8e75dbb5193 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
cb6fb2cf91
commit
b26febac83
@@ -2524,7 +2524,8 @@ bool GitClient::getCommitData(const QString &workingDirectory,
|
|||||||
// Run status. Note that it has exitcode 1 if there are no added files.
|
// Run status. Note that it has exitcode 1 if there are no added files.
|
||||||
QString output;
|
QString output;
|
||||||
if (commitData.commitType == FixupCommit) {
|
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()) {
|
if (output.isEmpty()) {
|
||||||
*errorMessage = msgNoCommits(false);
|
*errorMessage = msgNoCommits(false);
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user