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. src/
  2. .gitignore
  3. BUILD
  5. 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.