public class Hooks extends Object
Constructor and Description |
---|
Hooks() |
Modifier and Type | Method and Description |
---|---|
static CommitMsgHook |
commitMsg(Repository repo,
PrintStream outputStream) |
static PostCommitHook |
postCommit(Repository repo,
PrintStream outputStream) |
static PreCommitHook |
preCommit(Repository repo,
PrintStream outputStream) |
static PrePushHook |
prePush(Repository repo,
PrintStream outputStream) |
public static PreCommitHook preCommit(Repository repo, PrintStream outputStream)
repo
- outputStream
- The output stream, or null
to use System.out
public static PostCommitHook postCommit(Repository repo, PrintStream outputStream)
repo
- outputStream
- The output stream, or null
to use System.out
public static CommitMsgHook commitMsg(Repository repo, PrintStream outputStream)
repo
- outputStream
- The output stream, or null
to use System.out
public static PrePushHook prePush(Repository repo, PrintStream outputStream)
repo
- outputStream
- The output stream, or null
to use System.out
Copyright © 2016 Eclipse JGit Project. All rights reserved.