diff options
author | xengineering <me@xengineering.eu> | 2024-07-05 21:55:06 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-07-05 21:55:06 +0200 |
commit | 6af40875aadc742101c128fad37af6065996c3ed (patch) | |
tree | a49962ce3327766a991243c1cba034ad037bcb45 /README.md | |
parent | 72b68a55e417273110f5db13c95c8916e1f7b809 (diff) | |
download | craft-6af40875aadc742101c128fad37af6065996c3ed.tar craft-6af40875aadc742101c128fad37af6065996c3ed.tar.zst craft-6af40875aadc742101c128fad37af6065996c3ed.zip |
Determine and validate Git hook type
Since craft should only be referenced by a symlink like that:
ln -s /usr/bin/craft myrepo/.git/hooks/post-receive
It is important to detect the hook type, in this case 'post-receive'.
This commit also validates that the determined hook type is supported.
Currently only the post-receive hook is supported.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions