Document that disabledBranch config supports negative lookahead

A regular expression with a negative lookahead [1] can be used to match
all but one branches. E.g. this can be used to enable the code owners
functionality only for the master branch.

Cover this by a test and document this, so that this feature is easier
to discover.

[1] https://www.regular-expressions.info/lookaround.html

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I3fd464987eb626dae72cadcf9d536975e90e0532
2 files changed
tree: 3abf2ae649f57b684a9c9d4c601daae7f96c3b5f
  1. java/
  2. javatests/
  3. proto/
  4. resources/
  5. test/
  6. ui/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. bower.json
  11. BUILD
  12. LICENSE
  13. package-lock.json
  14. package.json
  15. README.md
README.md

Gerrit Code Review code-owners plugin

This plugin provides support for defining code owners for files in a repository.

If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.

Also see resources/Documentation/about.md

IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md