diff options
| author | 2026-05-13 13:43:34 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:34 +0100 | |
| commit | 566b3aa8a6cca6eeaac32e8ecc66561b739b3e7d (patch) | |
| tree | ceaea8e2ae66450923fa6ebca20e6d4655d3fe83 /dot_config/nvim/lua/plugins/completion.lua | |
| parent | 0ee8f260727f3e88d26d06f59e5c2fa71211a06d (diff) | |
| download | dotfiles-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/nvim/lua/plugins/completion.lua')
0 files changed, 0 insertions, 0 deletions
