pack-objects: fix thinko in revalidate code
commit7042dbf7a1e9137eb856b3b086a062561c50b8a3
authorJunio C Hamano <junkio@cox.net>
Sun, 3 Sep 2006 21:44:46 +0000 (3 14:44 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 3 Sep 2006 21:44:46 +0000 (3 14:44 -0700)
tree7471472a2d06e145a6f956aa4eabfc50680ad0f5
parentdf6d61017a17efe67e4709028fea8e820b5efc5e
pack-objects: fix thinko in revalidate code

When revalidating an entry from an existing pack entry->size and
entry->type are not necessarily the size of the final object
when the entry is deltified, but for base objects they must
match.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c