summaryrefslogtreecommitdiff
path: root/plugins/code-modernization
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-12 15:01:04 +0000
committerClaude <noreply@anthropic.com>2026-11-12 15:01:04 +0000
commit7122fc93f8f13f06e6f413ed68d0e0cd8a9541d0 (patch)
treec2adb828373cb9199e189b7ab165f4b83c271510 /plugins/code-modernization
parente0ab6e51219eef74e417a0e1d89e5d53e5e763d4 (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')
0 files changed, 0 insertions, 0 deletions