From: Johan Herland Date: Fri, 22 Aug 2008 21:57:04 GMT Subject: Re: [PATCH] discard revindex data when pack list changes Message-ID: <200808222357.04912.johan@herland.net> In-Reply-To: On Friday 22 August 2008, Nicolas Pitre wrote: > 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 Tested-by: Johan Herland Thanks. Works for me :) Junio: if you added the my testcase, please squash the following into this patch before applying: diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 339375a..83abe5f 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -186,7 +186,7 @@ test_expect_success \ test-2-${packname_2}.idx \ test-3-${packname_3}.idx' -test_expect_failure \ +test_expect_success \ 'verify pack -v' \ 'git verify-pack -v test-1-${packname_1}.idx \ test-2-${packname_2}.idx \ -- 1.6.0.96.g2fad1 Have fun! :) ...Johan -- Johan Herland, www.herland.net