• Dirk Hörner's avatar
    custom_hook: add support for global custom hooks · 0e409ee4
    Dirk Hörner authored
    This commit adds the option of having another set of global custom hooks
    along with the already supported repository local custom hooks.
    
    The repository local custom hook is executed first (if available). If
    successful, execution continues with the global custom hook (if available).
    This way, local custom hooks get priority over global custom hooks.
    
    Global custom hooks can be enabled by placing an executable file into the
    "custom_hooks" directory within gitlab-shell (create if it does not exist,
    yet).
    0e409ee4
gitlab_custom_hook.rb 1.78 KB