File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ test_expect_success 'receive-pack runs auto-gc in remote repo' '
159159 git commit -a -m "Second commit" &&
160160 git repack
161161 ) &&
162- cp -a parent child &&
162+ cp -R parent child &&
163163 (
164164 # Set the child to auto-pack if more than one pack exists
165165 cd child &&
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ test_expect_success 'setup repository' '
2222'
2323
2424test_expect_success ' create http-accessible bare repository with loose objects' '
25- cp -a .git "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
25+ cp -R .git "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
2626 (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
2727 git config core.bare true &&
2828 mkdir -p hooks &&
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ test_expect_success 'pushing to local repo' '
7676# git-remote-testgit, but is too slow to leave in for general use.
7777: test_expect_success ' racily pushing to local repo' '
7878 test_when_finished "rm -rf server2 localclone2" &&
79- cp -a server server2 &&
79+ cp -R server server2 &&
8080 git clone "testgit::${PWD}/server2" localclone2 &&
8181 (cd localclone2 &&
8282 echo content >>file &&
You can’t perform that action at this time.
0 commit comments