Interactive rebase - make selected commit available too

Since we select final commit for interactive rebase in a listed dialog,
it is IMO expected and more user-frendly to also have selected commit in
the interactive rebase list.

Change-Id: I56febd024cc174bcd046b1f02bccfe990043aae4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Petar Perisin
2013-04-09 17:46:59 +02:00
parent a2730a4570
commit 4a45c1c165

View File

@@ -731,7 +731,7 @@ void GitPlugin::startRebase()
dialog.setWindowTitle(tr("Interactive Rebase"));
if (!dialog.runDialog(workingDirectory))
return;
const QString change = dialog.commit();
const QString change = dialog.commit() + QLatin1Char('^');
if (!change.isEmpty())
m_gitClient->interactiveRebase(workingDirectory, change);
}