chore(sync): also trigger hook on .githooks/ changes

This commit is contained in:
2026-04-24 21:08:35 +02:00
parent 406b003e48
commit 87fc964ead

View File

@@ -34,7 +34,7 @@ configured="$(awk '
match=0 match=0
while IFS= read -r cfile; do while IFS= read -r cfile; do
[ -z "${cfile}" ] && continue [ -z "${cfile}" ] && continue
case "${cfile}" in .claude-sync.conf|scripts/sync-claude-docs.sh) match=1; break ;; esac case "${cfile}" in .claude-sync.conf|scripts/sync-claude-docs.sh|.githooks/*) match=1; break ;; esac
while IFS= read -r conf_path; do while IFS= read -r conf_path; do
[ -z "${conf_path}" ] && continue [ -z "${conf_path}" ] && continue
if [ "${cfile}" = "${conf_path}" ]; then if [ "${cfile}" = "${conf_path}" ]; then