Interface RebaseCommand.InteractiveHandler

  • All Known Subinterfaces:
    RebaseCommand.InteractiveHandler2
    Enclosing class:
    RebaseCommand

    public static interface RebaseCommand.InteractiveHandler
    Allows to configure the interactive rebase process steps and to modify commit messages.
    • Method Detail

      • prepareSteps

        void prepareSteps​(List<RebaseTodoLine> steps)
        Callback API to modify the initial list of interactive rebase steps.
        Parameters:
        steps - initial configuration of interactive rebase
      • modifyCommitMessage

        String modifyCommitMessage​(String message)
        Used for editing commit message on REWORD or SQUASH.
        Parameters:
        message - existing commit message
        Returns:
        new commit message