|
|
|
@ -955,11 +955,9 @@ public class RebaseCommand extends GitCommand<RebaseResult> {
|
|
|
|
|
static Action parse(String token) { |
|
|
|
|
if (token.equals("pick") || token.equals("p")) |
|
|
|
|
return PICK; |
|
|
|
|
throw new JGitInternalException( |
|
|
|
|
MessageFormat |
|
|
|
|
.format( |
|
|
|
|
"Unknown or unsupported command \"{0}\", only \"pick\" is allowed", |
|
|
|
|
token)); |
|
|
|
|
throw new JGitInternalException(MessageFormat.format( |
|
|
|
|
JGitText.get().unknownOrUnsupportedCommand, token, |
|
|
|
|
PICK.toToken())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|