index-pack: make resolve_delta() assume base data
authorJonathan Tan <jonathantanmy@google.com>
Mon, 24 Aug 2020 19:16:37 +0000 (12:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2020 21:14:52 +0000 (14:14 -0700)
commitee6f058384aa61ec175de9e45f413f209c6bf1dc
tree6ad36c469b48434c0c223437df0b0afadea3b741
parentb4718cae51f9630f2901c452ca4e4dfbf68f47ef
index-pack: make resolve_delta() assume base data

A subsequent commit will make the quantum of work smaller, necessitating
more locking. This commit allows resolve_delta() to be called outside
the lock.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c