Commit 8cc909a8 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Suppress command logging for tooltip display in branches dialog

Change-Id: I933a68c566a9acd40913ccc78363645572aa8ff8
Reviewed-by: default avatarTobias Hunger <>
parent c18eabe1
...@@ -32,6 +32,7 @@ ...@@ -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 ...@@ -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;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment