ReceiveCommits: move commit validation into a separate class

Change-Id: Ifbc2794e5fc86a71395fea058b70baeef93c6459
This commit is contained in:
Han-Wen Nienhuys
2018-09-11 14:33:15 +02:00
parent 61909bf20f
commit 5c7424ac94
4 changed files with 170 additions and 93 deletions

View File

@@ -75,6 +75,9 @@ import org.eclipse.jgit.revwalk.RevCommit;
import org.eclipse.jgit.revwalk.RevWalk;
import org.eclipse.jgit.util.SystemReader;
/**
* Represents a list of CommitValidationListeners to run for a push to one branch of one project.
*/
public class CommitValidators {
private static final FluentLogger logger = FluentLogger.forEnclosingClass();