diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2016-10-26 21:13:01 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-12-01 11:40:11 +0000 |
commit | dbd4bc264baf611b91c03d799f77376963633551 (patch) | |
tree | 28270e55df35d9f7201aaa7f8d9d9e59e7dec2d1 /spec/gitlab_custom_hook_spec.rb | |
parent | c5cf54392a8853c07352a54f94a754a61259124f (diff) | |
download | gitlab-shell-dbd4bc264baf611b91c03d799f77376963633551.tar.gz |
custom_hook: chain custom hooks
update hooks lookup to use <hook>.d/* from repository hooks dir
the order would be:
1. <repository>.git/custom_hooks/<hook_name> - per project hook
2. <repository>.git/custom_hooks/<hook_name>.d/* - per project hooks
3. <repository>.git/hooks/<hook_name>.d/* - global hooks
only executable files are matched and backup files excluded (*~)
and the resulting list is sorted per each lookup
Diffstat (limited to 'spec/gitlab_custom_hook_spec.rb')
0 files changed, 0 insertions, 0 deletions