Interface RebaseCommand.InteractiveHandler

Enclosing class:
RebaseCommand

public static interface RebaseCommand.InteractiveHandler
Allows configure rebase interactive process and modify commit message
  • Method Summary

    Modifier and Type
    Method
    Description
    Used for editing commit message on REWORD
    void
    Given list of steps should be modified according to user rebase configuration
  • Method Details

    • prepareSteps

      void prepareSteps(List<RebaseTodoLine> steps)
      Given list of steps should be modified according to user rebase configuration
      Parameters:
      steps - initial configuration of rebase interactive
    • modifyCommitMessage

      String modifyCommitMessage(String commit)
      Used for editing commit message on REWORD
      Parameters:
      commit -
      Returns:
      new commit message