const STDOUT_SIZE_CAP: usize = _ /* 8_388_608usize */;Expand description
Max bytes accepted from any single git subprocess invocation.
--numstat is small in practice; the per-file git diff <target> --no-ext-diff -- <path> calls produced by hunks::scan are
each bounded by one file’s worth of changes. 8 MiB is generous
headroom for genuinely huge single-file diffs (lockfiles,
generated source, vendored snapshots) without exposing the scan
to unbounded memory growth on a corrupted-git-output edge case.