Package | Description |
---|---|
org.eclipse.jgit.hooks | |
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PostCommitHook.handleError(String message,
ProcessResult result)
Overwrites the default implementation to never throw an
AbortedByHookException , as the commit has already been done and
the exit code of the post-commit hook has no effect. |
protected void |
GitHook.handleError(String message,
ProcessResult result)
Process that the hook exited with an error.
|
Modifier and Type | Method and Description |
---|---|
protected ProcessResult |
FS.internalRunHookIfPresent(Repository repository,
String hookName,
String[] args,
OutputStream outRedirect,
OutputStream errRedirect,
String stdinArgs)
|
ProcessResult |
FS.runHookIfPresent(Repository repository,
String hookName,
String[] args)
Checks whether the given hook is defined for the given repository, then
runs it with the given arguments.
|
ProcessResult |
FS_Win32_Cygwin.runHookIfPresent(Repository repository,
String hookName,
String[] args,
OutputStream outRedirect,
OutputStream errRedirect,
String stdinArgs)
Checks whether the given hook is defined for the given repository, then
runs it with the given arguments.
|
ProcessResult |
FS_POSIX.runHookIfPresent(Repository repository,
String hookName,
String[] args,
OutputStream outRedirect,
OutputStream errRedirect,
String stdinArgs)
Checks whether the given hook is defined for the given repository, then
runs it with the given arguments.
|
ProcessResult |
FS.runHookIfPresent(Repository repository,
String hookName,
String[] args,
OutputStream outRedirect,
OutputStream errRedirect,
String stdinArgs)
Checks whether the given hook is defined for the given repository, then
runs it with the given arguments.
|
Copyright © 2021 Eclipse JGit Project. All rights reserved.