Skip to content

Commit

Permalink
t5550: repack everything into one file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Buchacher authored and Junio C Hamano committed Jan 4, 2012
1 parent 6ea9385 commit 1327d83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/t5550-http-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ test_expect_success 'http remote detects correct HEAD' '
test_expect_success 'fetch packed objects' '
cp -R "$HTTPD_DOCUMENT_ROOT_PATH"/repo.git "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
(cd "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
git --bare repack &&
git --bare prune-packed
git --bare repack -a -d
) &&
git clone $HTTPD_URL/dumb/repo_pack.git
'
Expand Down

0 comments on commit 1327d83

Please sign in to comment.