From df177fba3c2da3e69780b7a56628a8a7a1de024d Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 21 Apr 2008 12:15:15 +0200 Subject: [PATCH] t5300-pack-object: Set up the objects for --strict tests only once. The two --strict tests use the exact same sequence to set up the repository. This factores the setup step into a test of its own. Signed-off-by: Johannes Sixt --- t/t5300-pack-object.sh | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 83c67c4a5a..49817f1ce7 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -286,7 +286,7 @@ test_expect_success \ packname_4=$(git pack-objects test-4 LIST && - rm -f .git/index && - git update-index --index-info