Browse Source

Enable rebase to continue for all rebase stages

EGit should be able to continue a rebase started by C Git.

Change-Id: I63058026295fec34157b5687ae87ae9cb0c27c86
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v2.1.0.201209190230-r
Robin Rosenberg 11 years ago
parent
commit
0264c313ba
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java

+ 3
- 0
org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java View File

@@ -723,6 +723,9 @@ public class RebaseCommand extends GitCommand<RebaseResult> {
// these operations are only possible while in a rebasing state
switch (repo.getRepositoryState()) {
case REBASING_INTERACTIVE:
case REBASING:
case REBASING_REBASING:
case REBASING_MERGE:
break;
default:
throw new WrongRepositoryStateException(MessageFormat.format(

Loading…
Cancel
Save