Git: Show decorations in commit details

Change-Id: Ifbf4737b0d374006a69b7005e4c6a032d5bf43e3
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-03-07 11:56:32 +02:00
committed by Orgad Shaneh
parent 9853667c3a
commit a776157cab

View File

@@ -251,7 +251,7 @@ void ChangeSelectionDialog::recalculateDetails()
connect(m_process, static_cast<void (QProcess::*)(int)>(&QProcess::finished),
this, &ChangeSelectionDialog::setDetails);
m_process->start(m_gitExecutable.toString(), {"show", "--stat=80", ref});
m_process->start(m_gitExecutable.toString(), {"show", "--decorate", "--stat=80", ref});
m_process->closeWriteChannel();
if (!m_process->waitForStarted())
m_ui->detailsText->setPlainText(tr("Error: Could not start Git."));