diff options
| author | Claude <noreply@anthropic.com> | 2026-11-12 15:01:04 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-12 15:01:04 +0000 |
| commit | 7122fc93f8f13f06e6f413ed68d0e0cd8a9541d0 (patch) | |
| tree | c2adb828373cb9199e189b7ab165f4b83c271510 /plugins/code-modernization/scripts/tests/test_proof_tools.py | |
| parent | e0ab6e51219eef74e417a0e1d89e5d53e5e763d4 (diff) | |
security-guidance: only run git in ordinary checkouts
Treat a folder as a repository to run git in only when it has its own
.git entry or the caller named the repository through GIT_DIR, and set
safe.bareRepository=explicit on the hook's git commands. Linked worktrees
and ordinary checkouts work as before.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
Diffstat (limited to 'plugins/code-modernization/scripts/tests/test_proof_tools.py')
0 files changed, 0 insertions, 0 deletions
