diff options
| author | 2026-05-13 13:43:34 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:34 +0100 | |
| commit | 1e478ca7378260250b2d6a4474b1c0cc3d87451b (patch) | |
| tree | 0f33fc59f138fb8d243de8df1d5a8c96cad7bc44 /dot_config/waybar/executable_lostfiles-status.sh | |
| parent | 566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d (diff) | |
| download | dotfiles-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_config/waybar/executable_lostfiles-status.sh')
0 files changed, 0 insertions, 0 deletions
