diff options
| author | 2026-05-13 13:43:34 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:34 +0100 | |
| commit | 7bcd28569189858a493227696e5479c577d72368 (patch) | |
| tree | 6ac49106674bee3897e636303c03123c3f5e5660 /dot_config/nvim/lua/plugins/git.lua | |
| parent | 1e478ca7378260250b2d6a4474b1c0cc3d87451b (diff) | |
| download | dotfiles-7bcd28569189858a493227696e5479c577d72368.tar.gz dotfiles-7bcd28569189858a493227696e5479c577d72368.tar.bz2 dotfiles-7bcd28569189858a493227696e5479c577d72368.zip | |
feat(git): pre-push checks Co-authored-by trailers for agents
Same substring blacklist (copilot, claude, codex, ...) is now also
applied to every Co-authored-by trailer in the commit message, not
just the author header. Agents commonly slip in via that route.
Trailers extracted with %(trailers:key=Co-authored-by,valueonly,
unfold,separator=%x1f) and split in awk on \037, which can't appear
in identity strings, so the tab-delimited record format stays
unambiguous.
To fix a flagged trailer use git commit --amend / interactive rebase
to drop the Co-authored-by line; --reset-author won't help here.
Diffstat (limited to 'dot_config/nvim/lua/plugins/git.lua')
0 files changed, 0 insertions, 0 deletions
