Sync with maint
[gitweb.git] / t / t5550-http-fetch.sh
index 95a133d697204a3b5dc469d188939198727e183a..e5e6b8f643206c2d4fd01e3ad71ca50a43f3da19 100755 (executable)
@@ -162,8 +162,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
 '