Package com.google.gerrit.server.git
Class PluggableCommitMessageGenerator
- java.lang.Object
-
- com.google.gerrit.server.git.PluggableCommitMessageGenerator
-
public class PluggableCommitMessageGenerator extends Object
Helper to call plugins that want to change the commit message before a change is merged.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 tooriginalMessage
in case no plugins are registered or the registered plugins decided not to modify the message.
-
-