forked from qt-creator/qt-creator
Git: Better wording for rebase in progress message
Change-Id: I13d002773dd81206c70b7eb91727f152d7e84507 Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a91219c636
commit
5d39fcf7cf
@@ -2313,14 +2313,14 @@ GitClient::CommandInProgress GitClient::checkCommandInProgress(const QString &wo
|
||||
|
||||
void GitClient::continueCommandIfNeeded(const QString &workingDirectory)
|
||||
{
|
||||
switch (checkCommandInProgress(workingDirectory)) {
|
||||
CommandInProgress command = checkCommandInProgress(workingDirectory);
|
||||
switch (command) {
|
||||
case Rebase:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Rebase"),
|
||||
tr("Continue rebase?"), tr("Continue"), QLatin1String("rebase"));
|
||||
break;
|
||||
case RebaseMerge:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Rebase"),
|
||||
tr("Continue rebase?"), tr("Continue"), QLatin1String("rebase"), false);
|
||||
tr("Rebase is in progress. What do you want to do?"),
|
||||
tr("Continue"), QLatin1String("rebase"),
|
||||
command != RebaseMerge);
|
||||
break;
|
||||
case Revert:
|
||||
continuePreviousGitCommand(workingDirectory, tr("Continue Revert"),
|
||||
|
||||
Reference in New Issue
Block a user