aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_local
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:34 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:34 +0100
commit1e478ca7378260250b2d6a4474b1c0cc3d87451b (patch)
tree0f33fc59f138fb8d243de8df1d5a8c96cad7bc44 /dot_local
parent566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d (diff)
downloaddotfiles-1e478ca7378260250b2d6a4474b1c0cc3d87451b.tar.gz
dotfiles-1e478ca7378260250b2d6a4474b1c0cc3d87451b.tar.bz2
dotfiles-1e478ca7378260250b2d6a4474b1c0cc3d87451b.zip
feat(git): pre-push also rejects coding-agent authors
Block commits where the author name/email contains any of: copilot, claude, codex, chatgpt, cursor, aider, devin, [bot], @openai., @anthropic. Use plain index() substring matching in awk to dodge regex-escaping pitfalls (an earlier draft using regex turned \[bot\] into a char class via -v escape processing and false-matched 'o' in 'com'). Fix: rebase with --reset-author re-stamps you as author while keeping the agent as it was (or drop them entirely). Documented in the failure message.
Diffstat (limited to 'dot_local')
0 files changed, 0 insertions, 0 deletions