summaryrefslogtreecommitdiffstats
path: root/src/review/risk.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-19 19:38:09 +0000
committeraur-build <aur-build@localhost>2026-11-19 19:38:09 +0000
commite0960212c1499c76cc4abc8b2112baea97ecf1b4 (patch)
tree4d71ae9e78bdb659673f2d0ef3addc80a5b78641 /src/review/risk.rs
parent0a4990bc4dc736d3c10708b6e77670863b2cc9a8 (diff)
downloadaur-build-e0960212c1499c76cc4abc8b2112baea97ecf1b4.tar.gz
aur-build-e0960212c1499c76cc4abc8b2112baea97ecf1b4.zip
git: read a tree with one cat-file --batch instead of one process per file
read_tree cost a cat-file -e, an ls-tree and a cat-file blob per file, so the number of processes a detection paid for scaled with how many files a recipe ships. One ls-tree plus one batch read is now constant, and a commit that is gone from the mirror surfaces from ls-tree itself - still fail closed, still the same message.
Diffstat (limited to 'src/review/risk.rs')
0 files changed, 0 insertions, 0 deletions