gerrit/Documentation/config-validation.txt
David Pursehouse 9437b7be9f Move commit message length checks to validation plugin
Checks of the commit message's length are removed from the
ReceiveCommits class.  These checks are now done in the commit
message length validation plugin, which is added as a core
plugin.

Change-Id: Ia0858b11e475c48f50ec63fbe0076239edf8f64b
2013-02-22 16:02:17 +09:00

22 lines
602 B
Plaintext

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]