chore(sync): also trigger hook on .githooks/ changes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user