Mercurial > kallithea
diff docs/setup.rst @ 8846:20e850093f1c
hooks: on Git, invoke hooks/post-receive-custom from hooks/post-receive
Make it possible for admins to install all kinds of hooks.
Based on a patch by Tim Ooms.
A more generic solution would be nice, but for now we aim for this minimal
solution.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Jan 2021 23:28:09 +0100 |
parents | d8e65780dbe9 |
children | 8a44425facba fb40978c1afb |
line wrap: on
line diff
--- a/docs/setup.rst Mon Jan 11 14:25:52 2021 +0100 +++ b/docs/setup.rst Mon Jan 11 23:28:09 2021 +0100 @@ -348,8 +348,10 @@ 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. +Kallithea does not actively support custom Git hooks, but hooks can be installed +manually in the file system. Kallithea will install and use the +``post-receive`` Git hook internally, but it will then invoke +``post-receive-custom`` if present. Changing default encoding