Mercurial > kallithea
diff docs/setup.rst @ 8845:d8e65780dbe9
hooks: clarify in UI and documentation how the hook control essentially is Mercurial only
The Git hook model doesn't directly allow multiple hooks of the same kind.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Jan 2021 14:25:52 +0100 |
parents | c354d1a7537f |
children | 20e850093f1c |
line wrap: on
line diff
--- a/docs/setup.rst Mon Jan 11 14:25:52 2021 +0100 +++ b/docs/setup.rst Mon Jan 11 14:25:52 2021 +0100 @@ -338,15 +338,19 @@ Hook management --------------- -Hooks can be managed in similar way to that used in ``.hgrc`` files. +Custom Mercurial hooks can be managed in a similar way to that used in ``.hgrc`` files. To manage hooks, choose *Admin > Settings > Hooks*. -The built-in hooks cannot be modified, though they can be enabled or disabled in the *VCS* section. - To add another custom hook simply fill in the first textbox with ``<name>.<hook_type>`` and the second with the hook path. Example hooks can be found in ``kallithea.lib.hooks``. +Kallithea will also use some hooks internally. They cannot be modified, but +some of them can be enabled or disabled in the *VCS* section. + +Kallithea has no support for custom Git hooks. Kallithea will install and use +Git hooks internally, and they might collide with manually installed hooks. + Changing default encoding -------------------------