mirror of
https://github.com/git/git.git
synced 2026-01-31 13:03:13 +00:00
Revert "test: fix t7001 cp to use POSIX options"
This reverts commit 00764ca1, as our ancient version of "cp" has
problems about the "new" POSIX option "-P" (yields exit code 1).
This commit is contained in:
committed by
Johannes Schindelin
parent
809f4f94a2
commit
bfb2967665
@@ -308,7 +308,7 @@ test_expect_success 'git mv moves a submodule with a .git directory and no .gitm
|
||||
(
|
||||
cd sub &&
|
||||
rm -f .git &&
|
||||
cp -R -P -p ../.git/modules/sub .git &&
|
||||
cp -a ../.git/modules/sub .git &&
|
||||
GIT_WORK_TREE=. git config --unset core.worktree
|
||||
) &&
|
||||
mkdir mod &&
|
||||
@@ -331,7 +331,7 @@ test_expect_success 'git mv moves a submodule with a .git directory and .gitmodu
|
||||
(
|
||||
cd sub &&
|
||||
rm -f .git &&
|
||||
cp -R -P -p ../.git/modules/sub .git &&
|
||||
cp -a ../.git/modules/sub .git &&
|
||||
GIT_WORK_TREE=. git config --unset core.worktree
|
||||
) &&
|
||||
mkdir mod &&
|
||||
|
||||
Reference in New Issue
Block a user