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:
parent
f17f8e8ba9
commit
935c8b752b
|
@ -33,9 +33,9 @@
|
||||||
* the return type which is expected from {@link #call()}
|
* the return type which is expected from {@link #call()}
|
||||||
* @see <a href="http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks">Git
|
* @see <a href="http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks">Git
|
||||||
* Hooks on the git-scm official site</a>
|
* 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;
|
private final Repository repo;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue