summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/scripts/baseline_diff.py
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-10-19 17:36:13 +0000
committerClaude <noreply@anthropic.com>2026-10-19 17:36:13 +0000
commit7a151516fa58fd0160bacaf8fb5966931170bb9c (patch)
treead809bb2b1b65b4210c6ea3821ed30e1ae7a150a /plugins/code-modernization/scripts/baseline_diff.py
parentd4c95aa95d02188aac37f6b435dadaccde46d1f9 (diff)
security-guidance: stay out of repositories nested in the work treemhegazy/sg-nested-repos
A directory with its own .git inside the work tree (a submodule, a vendored checkout, an unpacked archive) was added to the throwaway index as a submodule entry, and git then started a second git inside it to see whether it had changed. Nothing in such a directory is reviewed. git status and work-tree git diff now ignore submodule entries, an untracked nested repository is no longer listed as a changed file or added to the index copy, and a commit that moves a submodule is always shown as its two commit ids.
Diffstat (limited to 'plugins/code-modernization/scripts/baseline_diff.py')
0 files changed, 0 insertions, 0 deletions