Incorporate fetched packs in future object traversal
authorJohan Herland <johan@herland.net>
Sun, 15 Jun 2008 14:04:20 +0000 (16:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jun 2008 22:53:13 +0000 (15:53 -0700)
commit48ec3e5c073e97c15842ac16523444786b37774e
tree6a1a272227947587524441af7ba92081c1d4062b
parente449f105805ffa49ccf7cf080db897ecf65a1a0f
Incorporate fetched packs in future object traversal

Immediately after fetching a pack, we should call reprepare_packed_git() to
make sure the objects in the pack are reachable. Otherwise, we will fail to
look up objects that are present only in the fetched pack.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c