Annotate RefUpdate and CommitReceived as Singleton

These should be singletons so that they are not instantiated every
time a hook is executed.

Change-Id: I32e67a85c24138148c1cff97d76144030942930e
2 files changed
tree: 33782b57a44f1676eaaa447c55a28a0ebcf9a9a2
  1. src/
  2. .gitignore
  3. BUILD
  4. LICENSE
  5. README.md
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.