forked from qt-creator/qt-creator
Git: Fix popup message for merge
Change-Id: Ie3ef79343b84d615255b70b786347c57511c3309 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -2665,11 +2665,6 @@ void GitClient::continueCommandIfNeeded(const QString &workingDirectory)
|
||||
{
|
||||
CommandInProgress command = checkCommandInProgress(workingDirectory);
|
||||
switch (command) {
|
||||
case Merge:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Merge"),
|
||||
tr("Merge is in progress. What do you want to do?"),
|
||||
tr("Continue"), QLatin1String("merge"));
|
||||
break;
|
||||
case Rebase:
|
||||
case RebaseMerge:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Rebase"),
|
||||
@@ -2677,6 +2672,11 @@ void GitClient::continueCommandIfNeeded(const QString &workingDirectory)
|
||||
tr("Continue"), QLatin1String("rebase"),
|
||||
command != RebaseMerge);
|
||||
break;
|
||||
case Merge:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Merge"),
|
||||
tr("You need to commit changes to finish merge.\nCommit now?"),
|
||||
tr("Commit"), QLatin1String("merge"));
|
||||
break;
|
||||
case Revert:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Revert"),
|
||||
tr("You need to commit changes to finish revert.\nCommit now?"),
|
||||
|
||||
Reference in New Issue
Block a user