diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-13 20:57:12 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-13 20:57:12 +0000 |
| commit | 84f3cd05382d6c190fc0b09ca2cd2f4d5432e7f6 (patch) | |
| tree | e39966a885fbb544eff5191f6bf351e8fff32837 /plugins/code-modernization | |
| parent | f359d43b406057f1a8cdbc4ea93b827642c162e6 (diff) | |
security-guidance: keep the Stop review working when the changed paths do not fit one command
The Stop review passed every changed path to `git diff` as arguments. With enough of them (an unignored cache, a repo at $HOME) the OS refused to start git, the diff failed twice, and the turn's real edits were never reviewed.
When the OS refuses the argument list, keep only the paths the review can use (reviewable source files) and send them in a few commands under the same time limit. A path list that fits one command is handled exactly as before. Skip review sets of more than 100,000 paths before any diff.
Fixes #4824
Diffstat (limited to 'plugins/code-modernization')
0 files changed, 0 insertions, 0 deletions
