mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
PatchTeaser requests diff_stats per row, and each call re-opened the whole repo through libgit2-surf, so a list of patches serialized into tens of seconds on a large repo. Shell out to `git diff --numstat`, which opens and diffs in one fast pass, falling back to the surf diff when git is unavailable.