summaryrefslogtreecommitdiffstats
path: root/Documentation/config-validation.txt
blob: ab5d04a9678adabd5cd50cb6ef6bcac6a78c1ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Gerrit Code Review - Commit Validation
======================================

Gerrit supports link:dev-plugins.html[plugin-based] validation of
uploaded commits.

This allows plugins to perform additional validation checks against
uploaded commits, and send back a warning or error message to the git
client.

To make use of this feature, a plugin must implement the `CommitValidationListener`
interface.

Out of the box, Gerrit includes a plugin that checks the length of the
subject and body lines of commit messages on uploaded commits.


GERRIT
------
Part of link:index.html[Gerrit Code Review]