summaryrefslogtreecommitdiff
path: root/t/t5550-http-fetch.sh
diff options
context:
space:
mode:
authorClemens Buchacher <drizzd@aon.at>2012-01-04 15:55:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-04 18:04:59 (GMT)
commit1327d83954bcf755094995b63317b23986c550f2 (patch)
tree1d518233f65a73c5b865f77ef4c18705ffa6f00a /t/t5550-http-fetch.sh
parent6ea938542610f4c7b978a2d8bac00fade72ce9f1 (diff)
downloadgit-1327d83954bcf755094995b63317b23986c550f2.zip
git-1327d83954bcf755094995b63317b23986c550f2.tar.gz
git-1327d83954bcf755094995b63317b23986c550f2.tar.bz2
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>
Diffstat (limited to 't/t5550-http-fetch.sh')
-rwxr-xr-xt/t5550-http-fetch.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh
index 311a33c..7926ab3 100755
--- a/t/t5550-http-fetch.sh
+++ b/t/t5550-http-fetch.sh
@@ -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
'