forked from qt-creator/qt-creator
Git: Do not return empty string for top commit in LogChangeDialog
Change-Id: I26cff005974102c037bbbff04b7606e7f8a07b84 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
9228587b8e
commit
c45e4e614a
@@ -769,11 +769,8 @@ void GitPlugin::startRebase()
|
||||
return;
|
||||
LogChangeDialog dialog(false);
|
||||
dialog.setWindowTitle(tr("Interactive Rebase"));
|
||||
if (!dialog.runDialog(workingDirectory, QString(), false))
|
||||
return;
|
||||
const QString change = dialog.commit();
|
||||
if (!change.isEmpty())
|
||||
m_gitClient->interactiveRebase(workingDirectory, change, *stashGuard.take(), false);
|
||||
if (dialog.runDialog(workingDirectory, QString(), false))
|
||||
m_gitClient->interactiveRebase(workingDirectory, dialog.commit(), *stashGuard.take(), false);
|
||||
}
|
||||
|
||||
void GitPlugin::startChangeRelatedAction()
|
||||
|
Reference in New Issue
Block a user