don't load objects needlessly when repacking
commit560b25a86f30ad81d2bc3a383da19c3b7e631b8b
authorNicolas Pitre <nico@cam.org>
Sat, 1 Jul 2006 02:55:30 +0000 (30 22:55 -0400)
committerJunio C Hamano <junkio@cox.net>
Sat, 1 Jul 2006 03:14:47 +0000 (30 20:14 -0700)
treee3a08a5b3a70708da48a209d935fde9c40883558
parente3a56298135ed4cce302e7da792793d3e5623c29
don't load objects needlessly when repacking

If no delta is attempted on some objects then it is useless to load them
in memory, neither create any delta index for them.  The best thing to
do is therefore to load and index them only when really needed.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c