private @NotNull GitRebaseCommandResult rebaseResume(@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, createRebaseEditor(project, root, handler, false));
  }
private @NotNull GitRebaseCommandResult rebaseResume(@NotNull GitRepository repository,
                                                       @NotNull GitRebaseResumeMode rebaseMode,
                                                       GitLineHandlerListener @NotNull [] listeners)