summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_git_program.py
AgeCommit message (Collapse)Author
2026-11-04security-guidance: start git by its full path on Windowsmhegazy/sg-git-program-from-pathMohamed Hegazy
A bare program name on Windows is looked up in the working directory before PATH, and the hooks run in the project. Name the first git.exe on PATH, leaving out relative entries, the working directory and folders inside the project, as the claude lookup already avoids that search. Co-authored-by: mhegazy <mhegazy@anthropic.com>