Merge branch 'stable-2.15'

* stable-2.15:
  HookQueue: Rename constructor 'queue' argument to avoid confusion
  Add submit hook
  Module: Bind listeners in alphabetical order
  Annotate RefUpdate and CommitReceived as Singleton
  Reword documentation of ref-update and commit-received hooks
  Improve hooks documentation structure

Change-Id: I163ca67fb412b098e0556f4374d54bde65affc00
tree: 23b17165585f75c406ad2e36b7cbaf2ac51c4c4b
  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.