Merge branch 'stable-3.1'

* stable-3.1:
  Fix and clarify documentation of ref-update and commit-received hooks
  Correct documentation of ref-update hook regarding output

Change-Id: I0926e8a9ab58be09ba7c30b3834ddf86b483480f
tree: 011dd8044a908b45cf21fb37943ccd303eb037e1
  1. src/
  2. .gitignore
  3. BUILD

Hooks plugin

Gerrit does not support the standard server-side git hooks in the repositories it manages.

This plugin adds support for custom hooks that can be run instead. Refer to the configuration documentation and list of supported hooks for details.