GitRebaseCommandResult (@NotNull GitRepository repository, @NotNull GitRebaseResumeMode rebaseMode, GitLineHandlerListener @NotNull [] listeners) { Project project = repository.getProject(); VirtualFile root = repository.getRoot(); GitLineHandler handler = new GitLineHandler(project, root, GitCommand.REBASE, REBASE_CONFIG_PARAMS); handler.addParameters(rebaseMode.asCommandLineArgument()); addListeners(handler, listeners); return runWithEditor(handler, createEditor(project, root, handler, false)); }