summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_diff_prefix_config.py
AgeCommit message (Collapse)Author
2026-10-13security-guidance: read diffs the same whatever the user's prefix settingsMohamed Hegazy
With diff.mnemonicPrefix or diff.noprefix set in the user's git config, diff headers no longer read `a/<path> b/<path>`, the parser matched no file, and the review was skipped with nothing shown. mnemonicPrefix switched off the Stop review; noprefix switched off the commit and push reviews as well. Pass the default prefix settings on every git call the hook makes. Fixes #4569