forked from qt-creator/qt-creator
Git: Suppress command logging for tooltip display in branches dialog
Change-Id: I933a68c566a9acd40913ccc78363645572aa8ff8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c18eabe1aa
commit
8cc909a84c
@@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
#include <vcsbase/vcsbaseoutputwindow.h>
|
#include <vcsbase/vcsbaseoutputwindow.h>
|
||||||
|
#include <vcsbase/vcsbaseplugin.h>
|
||||||
|
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
|
|
||||||
@@ -714,8 +715,10 @@ QString BranchModel::toolTip(const QString &sha) const
|
|||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
QStringList arguments(QLatin1String("-n1"));
|
QStringList arguments(QLatin1String("-n1"));
|
||||||
arguments << sha;
|
arguments << sha;
|
||||||
if (!m_client->synchronousLog(m_workingDirectory, arguments, &output, &errorMessage))
|
if (!m_client->synchronousLog(m_workingDirectory, arguments, &output, &errorMessage,
|
||||||
|
VcsBase::VcsBasePlugin::SuppressCommandLogging)) {
|
||||||
return errorMessage;
|
return errorMessage;
|
||||||
|
}
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user