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 <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Clemens Buchacher committed
Jan 4, 2012 at 16:55 UTC
1327d83954bcf755094995b63317b23986c550f2
1 file changed
+1
-2
t/t5550-http-fetch.sh
+1
-2
@@ -118,8 +118,7 @@ test_expect_success 'http remote detects correct HEAD' '
118
test_expect_success 'fetch packed objects' '
119
cp -R "$HTTPD_DOCUMENT_ROOT_PATH"/repo.git "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
120
(cd "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
121
- git --bare repack &&
122
- git --bare prune-packed
121
+ git --bare repack -a -d
122
) &&
123
git clone $HTTPD_URL/dumb/repo_pack.git
124
'