summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/scripts
diff options
context:
space:
mode:
authorMohamed Hegazy <mhegazy@anthropic.com>2026-10-19 16:57:46 +0000
committerClaude <noreply@anthropic.com>2026-10-19 16:57:46 +0000
commit6d375ed2062b0c34e8a18885439cd992ad2d834a (patch)
tree98a2462abaa1412abaf42640e867cb2c4652dee0 /plugins/code-modernization/scripts
parentaf95e28036dec718066ef0c3b684dccb4f23cd39 (diff)
security-guidance: keep added lines past the cut, hold the diff timeout
A reviewable file past the per-file cap now keeps as much again of its added lines, so a rewritten large file still shows what is new, and its diff ends with a line saying it was cut. The read runs on a thread so the 30 s limit holds while a process git started keeps the pipe open; a read that breaks is an error instead of a short diff. SG_MAX_FILE_DIFF_BYTES of zero or less means the default. The parser and the reader share one test for which files are reviewed.
Diffstat (limited to 'plugins/code-modernization/scripts')
0 files changed, 0 insertions, 0 deletions