forked from qt-creator/qt-creator
Git: Show decorations in commit details
Change-Id: Ifbf4737b0d374006a69b7005e4c6a032d5bf43e3 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
9853667c3a
commit
a776157cab
@@ -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."));
|
||||
|
Reference in New Issue
Block a user