aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/bat
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
commit566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d (patch)
treeceaea8e2ae66450923fa6ebca20e6d4655d3fe83 /dot_config/bat
parent0ee8f260727f3e88d26d06f59e5c2fa71211a06d (diff)
downloaddotfiles-566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d.tar.gz
dotfiles-566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d.tar.bz2
dotfiles-566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d.zip
feat(git): pre-push also rejects commits with foreign committer
Now flags any commit whose committer name+email doesn't match the local user.name / user.email (which respects the includeIf rules in ~/.config/git/config, so per-tree work/personal identities work). Author is left free: pulling someone else's commit and rebasing it locally re-stamps the committer to you, satisfies this gate, and the original author is preserved in the commit metadata. Both checks (signature + committer) run in one rev-list pass with tab-separated fields so awk parses unambiguously.
Diffstat (limited to 'dot_config/bat')
0 files changed, 0 insertions, 0 deletions