Skip to content

Commit e52e4ef

Browse files
committed
Merge pull request #181 from kasal/tests-no-posix
Revert "test: fix t7001 cp to use POSIX options"
2 parents 02fac2a + c2a0ce3 commit e52e4ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t7001-mv.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ test_expect_success 'git mv moves a submodule with a .git directory and no .gitm
308308
(
309309
cd sub &&
310310
rm -f .git &&
311-
cp -R -P -p ../.git/modules/sub .git &&
311+
cp -a ../.git/modules/sub .git &&
312312
GIT_WORK_TREE=. git config --unset core.worktree
313313
) &&
314314
mkdir mod &&
@@ -331,7 +331,7 @@ test_expect_success 'git mv moves a submodule with a .git directory and .gitmodu
331331
(
332332
cd sub &&
333333
rm -f .git &&
334-
cp -R -P -p ../.git/modules/sub .git &&
334+
cp -a ../.git/modules/sub .git &&
335335
GIT_WORK_TREE=. git config --unset core.worktree
336336
) &&
337337
mkdir mod &&

0 commit comments

Comments
 (0)