Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  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: I5f5eed398e182c8542b4b53722d942fb2b6bde5a
tree: 5a4b6e9d24fedf2a543805071d7b0977dcb7ee84
  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.