pack-objects: fix early eviction for max depth delta objects
commit70baf5d41a933c7972375ae2583aad8c8b92633f
authorNicolas Pitre <nico@cam.org>
Fri, 2 May 2008 19:11:51 +0000 (2 15:11 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 4 May 2008 01:35:38 +0000 (3 18:35 -0700)
tree00b0137f24fefe438e607c4b1c9e8f79df12a0c4
parented4a9031ea75858d6f8ec387993e8ff731e29d1a
pack-objects: fix early eviction for max depth delta objects

The 'depth' variable doesn't reflect the actual maximum depth used
when other objects already depend on the current one.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c