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' '
159
159
git commit -a -m "Second commit" &&
160
160
git repack
161
161
) &&
162
- cp -a parent child &&
162
+ cp -R parent child &&
163
163
(
164
164
# Set the child to auto-pack if more than one pack exists
165
165
cd child &&
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ test_expect_success 'setup repository' '
22
22
'
23
23
24
24
test_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" &&
26
26
(cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
27
27
git config core.bare true &&
28
28
mkdir -p hooks &&
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ test_expect_success 'pushing to local repo' '
76
76
# git-remote-testgit, but is too slow to leave in for general use.
77
77
: test_expect_success ' racily pushing to local repo' '
78
78
test_when_finished "rm -rf server2 localclone2" &&
79
- cp -a server server2 &&
79
+ cp -R server server2 &&
80
80
git clone "testgit::${PWD}/server2" localclone2 &&
81
81
(cd localclone2 &&
82
82
echo content >>file &&
You can’t perform that action at this time.
0 commit comments