Fix and clarify documentation of ref-update and commit-received hooks

- Clarify behavior of ref-update when multiple commits are pushed, i.e.
  that it is only called once for the entire ref update.

- Fix the documentation of commit-received which states that it is called
  for changes pushed for review. In fact it is also called for direct
  pushes, but unlike ref-update it is called once for each commit.

Change-Id: Ie3e2dcab37eeb5d0ed06e05322e72d3fc73925fd
1 file changed
tree: 682621f01dfb8fd2f03f051e06ad37703cd6fab4
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. README.md
  5. src/
README.md

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.