Code

discard revindex data when pack list changes
authorNicolas Pitre <nico@cam.org>
Fri, 22 Aug 2008 19:45:53 +0000 (15:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Aug 2008 05:00:22 +0000 (22:00 -0700)
commit4b480c6716a7d8e20e7e510827ea81e7939f335a
tree24c1de905aecbdebfd1c71485de456d0d6660c31
parenta81892dd8c37b6f13793739721b520fee3ce4c2c
discard revindex data when pack list changes

This is needed to fix verify-pack -v with multiple pack arguments.

Also, in theory, revindex data (if any) must be discarded whenever
reprepare_packed_git() is called. In practice this is hard to trigger
though.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-verify-pack.c
pack-revindex.c
pack-revindex.h
sha1_file.c
t/t5300-pack-object.sh