Commit c17f798a authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Do not invoke git for details about empty change

Change-Id: I2a7b36063ad3c67d3a1fbe999659dc0051723b10
Reviewed-by: default avatarAndré Hartmann <>
Reviewed-by: default avatarPetar Perisin <>
parent ddfec003
......@@ -210,8 +210,14 @@ void ChangeSelectionDialog::recalculateDetails()
const QString change = m_ui->changeNumberEdit->text();
if (change.isEmpty()) {
QStringList args;
args << QLatin1String("log") << QLatin1String("-n1") << m_ui->changeNumberEdit->text();
args << QLatin1String("log") << QLatin1String("-n1") << change;
m_process = new QProcess(this);
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