Move to .d directories for hooks instead of a single file

Easier to manage especially with separate installs
This commit is contained in:
David Heinemeier Hansson
2026-05-07 09:59:18 +02:00
parent f0969c6793
commit fe0ea4de3e
6 changed files with 9 additions and 8 deletions
+1
View File
@@ -22,6 +22,7 @@ fi
if [[ -d $HOOK_DIR ]]; then
for hook in "$HOOK_DIR"/*; do
[[ -f $hook ]] || continue
[[ $hook == *.sample ]] && continue
bash "$hook" "$@"
done
fi