chore(sync): extend post-commit hook trigger to .claude-sync.conf and sync script
This commit is contained in:
@@ -34,6 +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
|
||||||
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