diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-18 17:04:53 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-18 17:04:53 +0000 |
| commit | 9f7575d2ccde33ed2a9491da69caded068c5926d (patch) | |
| tree | 0cb9af399f9c8b7fb61ec09888dbf7936b1da023 /plugins/code-modernization/scripts/baseline_diff.py | |
| parent | ded17af4aac57cbe4f3b027dc46a5c338f41afa9 (diff) | |
security-guidance: keep secret renames out and report the right skip when paths do not fit one command
When the changed paths are too long for one git command:
- secret-shaped paths gone from the work tree go into every batch, so a
rename away from such a name is still paired and its content stays out
of the review
- the batch size follows the system's own argument limit when it is lower
- giving up is reported as skip 8 and a set with no source files as skip 7,
instead of 6 (no changes)
MAX_REVIEW_SET_PATHS counts only reviewable paths, read from the repo root,
so an unignored dependency directory does not hide an edited source file.
Diffstat (limited to 'plugins/code-modernization/scripts/baseline_diff.py')
0 files changed, 0 insertions, 0 deletions
