Uses of Class
org.eclipse.jgit.hooks.CommitMsgHook
Packages that use CommitMsgHook
-
Uses of CommitMsgHook in org.eclipse.jgit.hooks
Methods in org.eclipse.jgit.hooks that return CommitMsgHookModifier and TypeMethodDescriptionstatic CommitMsgHook
Hooks.commitMsg
(Repository repo, PrintStream outputStream) Create commit-msg hook for the given repository with the default error streamstatic CommitMsgHook
Hooks.commitMsg
(Repository repo, PrintStream outputStream, PrintStream errorStream) Create commit-msg hook for the given repositoryCommitMsgHook.setCommitMessage
(String commitMessage) It is mandatory to call this method with a non-null value before actually calling the hook.