diff options
| author | Elijah Newren <newren@gmail.com> | 2026-04-18 00:32:27 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-17 17:40:16 -0700 |
| commit | e775693160b65bee01ef56c2f240bfe7a0499d5a (patch) | |
| tree | e461affbd589cb4284d4c3559ebe5bfeacf58e1e /t/t4018/cpp-function-returning-pointer | |
| parent | 578f5d57c12a8c40973408eb603df796523e3a56 (diff) | |
| download | git-e775693160b65bee01ef56c2f240bfe7a0499d5a.tar.gz git-e775693160b65bee01ef56c2f240bfe7a0499d5a.zip | |
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/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions
