{"thread":{"id":"32399","subject":"[PATCH] t3600: Avoid \"cp -a\" which is a GNUism","startedAt":"2012-12-19T02:55:11Z","lastAt":"2012-12-19T02:55:11Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"205171","messageId":"7vtxrida40.fsf@alter.siamese.dyndns.org","threadId":"32399","inReplyTo":null,"subject":"[PATCH] t3600: Avoid \"cp -a\" which is a GNUism","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-19T02:55:11Z","receivedAt":"2012-12-19T02:55:11Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"With d4a7ffa (tests: \"cp -a\" is a GNUism, 2012-10-08), we got rid of\nmost of them, but a topic that was still in flight was missed.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n t/t3600-rm.sh | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/t/t3600-rm.sh b/t/t3600-rm.sh\nindex 97254e8..324924e 100755\n--- a/t/t3600-rm.sh\n+++ b/t/t3600-rm.sh\n@@ -457,7 +457,7 @@ test_expect_success 'rm of a conflicted populated submodule with a .git director\n \tgit submodule update &&\n \t(cd submod &&\n \t\trm .git &&\n-\t\tcp -a ../.git/modules/sub .git &&\n+\t\tcp -R ../.git/modules/sub .git &&\n \t\tGIT_WORK_TREE=. git config --unset core.worktree\n \t) &&\n \ttest_must_fail git merge conflict2 &&\n@@ -491,7 +491,7 @@ test_expect_success 'rm of a populated submodule with a .git directory fails eve\n \tgit submodule update &&\n \t(cd submod &&\n \t\trm .git &&\n-\t\tcp -a ../.git/modules/sub .git &&\n+\t\tcp -R ../.git/modules/sub .git &&\n \t\tGIT_WORK_TREE=. git config --unset core.worktree\n \t) &&\n \ttest_must_fail git rm submod &&\n@@ -589,7 +589,7 @@ test_expect_success 'rm of a populated nested submodule with a nested .git direc\n \tgit submodule update --recursive &&\n \t(cd submod/subsubmod &&\n \t\trm .git &&\n-\t\tcp -a ../../.git/modules/sub/modules/sub .git &&\n+\t\tcp -R ../../.git/modules/sub/modules/sub .git &&\n \t\tGIT_WORK_TREE=. git config --unset core.worktree\n \t) &&\n \ttest_must_fail git rm submod &&\n-- \n1.8.1.rc2.196.g90926c8\n"}]}