summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_secret_renames.py
AgeCommit message (Collapse)Author
2026-10-22security-guidance: test the kept old name beside a nested repository and a ↵Mohamed Hegazy
split path list
2026-10-20security-guidance: count Stop reviews that kept a secret-shaped old nameMohamed Hegazy
secret_renamed is sent only when it is not zero.
2026-10-20security-guidance: keep a renamed file paired with its old name in the Stop ↵Mohamed Hegazy
review The Stop review limits its diff to the changed paths. For a rename that git already knows about (git mv, or a rename committed during the turn) that list held only the new name, so the diff showed a new file and the parsers could not apply the rule that leaves out a file renamed away from a secret-shaped name. The old name now goes into the list beside the new one, as it already did for a plain mv. The file listings themselves are unchanged.