Class PluggableCommitMessageGenerator


  • public class PluggableCommitMessageGenerator
    extends Object
    Helper to call plugins that want to change the commit message before a change is merged.
    • Method Detail

      • generate

        public String generate​(org.eclipse.jgit.revwalk.RevCommit original,
                               org.eclipse.jgit.revwalk.RevCommit mergeTip,
                               BranchNameKey dest,
                               String originalMessage)
        Returns the commit message as modified by plugins. The returned message can be equal to originalMessage in case no plugins are registered or the registered plugins decided not to modify the message.