Allow Sam attribution in pre-commit hook
--- Build: pass | Tests: FAIL — 1 failed
This commit is contained in:
parent
d36ca67ada
commit
20cf0334d7
1 changed files with 2 additions and 2 deletions
|
|
@ -35,9 +35,9 @@ guard_ident() {
|
|||
role=$1
|
||||
name=$2
|
||||
case "$name" in
|
||||
"Operator & "*|"Clawdie AI") ;;
|
||||
"Operator & "*|"Sam & "*|"Clawdie AI") ;;
|
||||
*)
|
||||
echo "pre-commit: $role name is '$name' — expected 'Operator & <agent>'." >&2
|
||||
echo "pre-commit: $role name is '$name' — expected 'Operator & <agent>' or 'Sam & <agent>'." >&2
|
||||
echo " Fix: use a per-agent worktree with" >&2
|
||||
echo " git config --worktree user.name \"Operator & <agent>\"" >&2
|
||||
echo " Or export GIT_AUTHOR_NAME and GIT_COMMITTER_NAME for this shell." >&2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue