From: Junio C Hamano Date: Wed, 05 Mar 2008 08:47:04 GMT Subject: [PATCH] t5300: add test for "unpack-objects --strict" Message-ID: <7v4pblpng7.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7vfxv65kkl.fsf@gitster.siamese.dyndns.org> This adds a test for unpacking deltified objects with --strict option. Signed-off-by: Junio C Hamano --- Junio C Hamano writes: > Sergey Vlasov writes: > ... >> However, I do not have time to create a proper test case for this. > > That's Ok. What we need is a fix but it is not that urgent as the stuff > is now reverted for now. t/t5300-pack-object.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index cd3c149..0cf0ff7 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -274,4 +274,40 @@ test_expect_success \ packname_4=$(git pack-objects test-4 LIST && + rm -f .git/index && + git update-index --index-info