diff --git a/.githooks/post-commit b/.githooks/post-commit index 846bbdfe..a6a42064 100755 --- a/.githooks/post-commit +++ b/.githooks/post-commit @@ -34,7 +34,7 @@ configured="$(awk ' match=0 while IFS= read -r cfile; do [ -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 [ -z "${conf_path}" ] && continue if [ "${cfile}" = "${conf_path}" ]; then