• Sean McGivern's avatar
    Make custom hooks dir configurable · fbc213ea
    Sean McGivern authored
    Add a new configuration option, custom_hooks_dir. When this is set, we
    will look for global custom hooks in:
        <custom_hooks_dir>/{pre-receive,update,post-receive}.d/*
    
    When this is not set, default to <REPO_PATH>/hooks.
    fbc213ea
gitlab_custom_hook_spec.rb 10 KB