unpack-trees: refactor prefetching code
commitb2896d27391afcbc990439e63972bb33693a7d6b
authorJonathan Tan <jonathantanmy@google.com>
Fri, 23 Jul 2021 18:52:22 +0000 (23 11:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jul 2021 21:21:57 +0000 (23 14:21 -0700)
tree952dfb651420982f59f61cb4b2ed6d62a17effb8
parenteb27b338a3e71c7c4079fbac8aeae3f8fbb5c687
unpack-trees: refactor prefetching code

Refactor the prefetching code in unpack-trees.c into its own function,
because it will be used elsewhere in a subsequent commit.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
read-cache.c
unpack-trees.c