List of usage examples for org.eclipse.jgit.transport PreUploadHook interface-usage
From source file com.google.gerrit.server.git.validators.UploadValidators.java
public class UploadValidators implements PreUploadHook { private final DynamicSet<UploadValidationListener> uploadValidationListeners; private final Project project; private final Repository repository; private final String remoteHost;
From source file com.googlesource.gerrit.plugins.gerritcounter.GerritCounterHook.java
/**
* CloneCounterHook is a PreUploadHook that is called before the server
* returns data in response to a git clone|fetch|pull.
* <p>
* This hook identifies git clones and records it in a Postgres database.
* </p>