summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/scripts/baseline_diff.py
diff options
context:
space:
mode:
authorMohamed Hegazy <mhegazy@anthropic.com>2026-10-15 16:36:32 +0000
committerClaude <noreply@anthropic.com>2026-10-15 16:36:32 +0000
commit4aa979897a448b5f298ec7b183503daadd0c3783 (patch)
treecb0cc91d85cc07c67aca7835132218bc7eb39e4a /plugins/code-modernization/scripts/baseline_diff.py
parent49a4d974b935e20dc2b9a49a26ab175d37a01aa7 (diff)
security-guidance: recognize more git global options before commit and pushmhegazy/sg-git-valueless-global-options
A commit or push written with a flag that takes no value (git --no-pager commit), a partly quoted option value (git -c user.name="A B" commit) or --namespace / --config-env / --attr-source with a separate value was not recognized by the hook, so it was not reviewed. Commit and push detection now share one global-option pattern that covers these.
Diffstat (limited to 'plugins/code-modernization/scripts/baseline_diff.py')
0 files changed, 0 insertions, 0 deletions