forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user