{"thread":{"id":"7273","subject":"[PATCH] fix t5300-pack-object.sh","startedAt":"2007-03-16T17:37:42Z","lastAt":"2007-03-16T17:37:42Z","messageCount":1,"participants":["Nicolas Pitre"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"37263","messageId":"alpine.LFD.0.83.0703161329440.18328@xanadu.home","threadId":"7273","inReplyTo":null,"subject":"[PATCH] fix t5300-pack-object.sh","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2007-03-16T17:37:42Z","receivedAt":"2007-03-16T17:37:42Z","isPatch":true,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"The 'use packed deltified objects' test was flawed as it failed to \nremove the pack and index from the previous test, effectively preventing\nthe desired pack from being exercised as objects could be found in that\nother pack instead.\n\nSigned-off-by: Nicolas Pitre <nico@cam.org>\n\n---\n\ndiff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh\nindex f511547..17befde 100755\n--- a/t/t5300-pack-object.sh\n+++ b/t/t5300-pack-object.sh\n@@ -116,7 +116,7 @@ test_expect_success \\\n     'use packed deltified objects' \\\n     'GIT_OBJECT_DIRECTORY=.git2/objects &&\n      export GIT_OBJECT_DIRECTORY &&\n-     rm -f .git2/objects/pack/test-?.idx &&\n+     rm .git2/objects/pack/test-* &&\n      cp test-2-${packname_2}.pack test-2-${packname_2}.idx .git2/objects/pack && {\n \t git-diff-tree --root -p $commit &&\n \t while read object\n"}]}