diff options
| author | Claude <noreply@anthropic.com> | 2026-10-19 17:36:13 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-19 17:36:13 +0000 |
| commit | 7a151516fa58fd0160bacaf8fb5966931170bb9c (patch) | |
| tree | ad809bb2b1b65b4210c6ea3821ed30e1ae7a150a /plugins/code-modernization/scripts | |
| parent | d4c95aa95d02188aac37f6b435dadaccde46d1f9 (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')
0 files changed, 0 insertions, 0 deletions
