Skip to content

Commit 2076353

Browse files
peffgitster
authored andcommitted
t5305: drop "dry-run" of unpack-objects
For each test we do a dry-run of unpack-objects, followed by a real run, followed by confirming that it contained the objects we expected. The dry-run is telling us nothing, as any errors it encounters would be found in the real run. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1962d9f commit 2076353

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

t/t5305-include-tag.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ test_expect_success 'unpack objects' '
3737
GIT_DIR=clone.git &&
3838
export GIT_DIR &&
3939
git init &&
40-
git unpack-objects -n <test-1-${packname_1}.pack &&
4140
git unpack-objects <test-1-${packname_1}.pack
4241
)
4342
'
@@ -64,7 +63,6 @@ test_expect_success 'unpack objects' '
6463
GIT_DIR=clone.git &&
6564
export GIT_DIR &&
6665
git init &&
67-
git unpack-objects -n <test-2-${packname_1}.pack &&
6866
git unpack-objects <test-2-${packname_1}.pack
6967
)
7068
'

0 commit comments

Comments
 (0)