upload-pack: fix off-by-one depth calculation in shallow clone
[gitweb.git] / t / t5550-http-fetch.sh
index 16ef0419e9e4ea8d42aebd63c5bc5ec7f63d3732..80d20c876bbac0b00d388d511da555a29e827dbc 100755 (executable)
@@ -22,7 +22,7 @@ test_expect_success 'setup repository' '
 '
 
 test_expect_success 'create http-accessible bare repository with loose objects' '
-       cp -a .git "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
+       cp -R .git "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
        (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
         git config core.bare true &&
         mkdir -p hooks &&