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>
This commit is contained in:
Matthias Sohn 2021-02-07 23:48:57 +01:00
parent f17f8e8ba9
commit 935c8b752b
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@
* 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;