diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-07 23:48:57 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-15 16:45:59 +0100 |
commit | 935c8b752b05f989c9bb734dd7a47533ecec6d37 (patch) | |
tree | 2cc785d4298df6321e8bb8b2937c128e1d068770 | |
parent | f17f8e8ba9cc5bed87ef5637b7ba4bed20b761b5 (diff) | |
download | jgit-935c8b752b05f989c9bb734dd7a47533ecec6d37.tar.gz jgit-935c8b752b05f989c9bb734dd7a47533ecec6d37.zip |
Allow to define additional Hook classes outside JGit
EGit wants to add gitflow specific hooks in org.eclipse.egit.gitflow.
Make GitHook public to allow sub-classing outside of the
org.eclipse.jgit.hooks package.
Change-Id: I439575ec901e3610b5cf9d66f7641c8324faa865
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java b/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java index e19ebcc37f..4cbd6c2eb9 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java @@ -33,9 +33,9 @@ import org.eclipse.jgit.util.io.TeeOutputStream; * the return type which is expected from {@link #call()} * @see <a href="http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks">Git * Hooks on the git-scm official site</a> - * @since 4.0 + * @since 5.11 */ -abstract class GitHook<T> implements Callable<T> { +public abstract class GitHook<T> implements Callable<T> { private final Repository repo; |