forked from qt-creator/qt-creator
DiffEditor: Show tags and branches in Show pane
Change-Id: I39be7c3fb9b57b133c4da3639813527aa280ae33 Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
This commit is contained in:
committed by
Jarek Kobus
parent
32217a0c3c
commit
5f131da166
@@ -259,7 +259,8 @@ void GitDiffHandler::collectShowDescription(const QString &id)
|
|||||||
VcsBase::Command *command = new VcsBase::Command(m_gitPath, m_workingDirectory, m_processEnvironment);
|
VcsBase::Command *command = new VcsBase::Command(m_gitPath, m_workingDirectory, m_processEnvironment);
|
||||||
connect(command, SIGNAL(outputData(QByteArray)), this, SLOT(slotShowDescriptionReceived(QByteArray)));
|
connect(command, SIGNAL(outputData(QByteArray)), this, SLOT(slotShowDescriptionReceived(QByteArray)));
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
arguments << QLatin1String("show") << QLatin1String("-s") << QLatin1String("--format=fuller") << id;
|
arguments << QLatin1String("show") << QLatin1String("-s") << QLatin1String("--format=fuller")
|
||||||
|
<< QLatin1String(noColorOption) << QLatin1String(decorateOption) << id;
|
||||||
command->addJob(arguments, m_timeout);
|
command->addJob(arguments, m_timeout);
|
||||||
command->execute();
|
command->execute();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user