diff options
| author | Elijah Newren <newren@gmail.com> | 2026-05-14 16:25:28 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-15 04:24:54 +0900 |
| commit | 854061ea5484fffc6c54941332115abbd7fc950f (patch) | |
| tree | 0c31df9c8c7adfd858512e08817cbb4a7ad03cd2 /t/t4013/diff.diff_initial..side | |
| parent | 463c1bfc2b65357569055916e348e1bd9c7a5b25 (diff) | |
grep: prefetch necessary blobs
In partial clones, `git grep` fetches necessary blobs on-demand one
at a time, which can be very slow. In partial clones, add an extra
preliminary walk over the tree similar to grep_tree() which collects
the blobs of interest, and then prefetches them.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
