Here's another instance in which we need to prefetch in order to avoid
fetching objects one by one. More information is in patch 2's commit
message.
Jonathan Tan (2):
unpack-trees: refactor prefetching code
cache-tree: prefetch in partial clone read-tree
cache-tree.c | 11 ++++++++--
cache.h | 9 ++++++++
read-cache.c | 23 +++++++++++++++++++++
t/t1022-read-tree-partial-clone.sh | 33 ++++++++++++++++++++++++++++++
unpack-trees.c | 27 ++++++++----------------
5 files changed, 82 insertions(+), 21 deletions(-)
create mode 100755 t/t1022-read-tree-partial-clone.sh
--
2.32.0.432.gabb21c7263-goog