Skip to content

Commit 1327d83

Browse files
Clemens Buchachergitster
authored andcommitted
t5550: repack everything into one file
Subsequently we assume that there is only one pack. Currently this is true only by accident. Pass '-a -d' to repack in order to guarantee that assumption to hold true. The prune-packed command is now redundant since repack -d already calls it. Signed-off-by: Clemens Buchacher <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6ea9385 commit 1327d83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/t5550-http-fetch.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ test_expect_success 'http remote detects correct HEAD' '
118118
test_expect_success 'fetch packed objects' '
119119
cp -R "$HTTPD_DOCUMENT_ROOT_PATH"/repo.git "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
120120
(cd "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
121-
git --bare repack &&
122-
git --bare prune-packed
121+
git --bare repack -a -d
123122
) &&
124123
git clone $HTTPD_URL/dumb/repo_pack.git
125124
'

0 commit comments

Comments
 (0)