Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Revert "test: fix t7001 cp to use POSIX options"
Browse files Browse the repository at this point in the history
This reverts commit 00764ca, as our ancient version of "cp" has
problems about the "new" POSIX option "-P" (yields exit code 1).
  • Loading branch information
kasal committed May 29, 2014
1 parent ec765f6 commit 6d3e23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t7001-mv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand All @@ -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 &&
Expand Down

0 comments on commit 6d3e23d

Please sign in to comment.