$OpenBSD: patch-t_t7001-mv_sh,v 1.2 2014/01/15 19:57:01 benoit Exp $

use 'cp -RpP' instead of 'cp -a'

--- t/t7001-mv.sh.orig	Tue Jan 14 18:10:09 2014
+++ t/t7001-mv.sh	Tue Jan 14 19:07:04 2014
@@ -307,7 +307,7 @@ test_expect_success 'git mv moves a submodule with a .
 	(
 		cd sub &&
 		rm -f .git &&
-		cp -a ../.git/modules/sub .git &&
+		cp -RpP ../.git/modules/sub .git &&
 		GIT_WORK_TREE=. git config --unset core.worktree
 	) &&
 	mkdir mod &&
@@ -330,7 +330,7 @@ test_expect_success 'git mv moves a submodule with a .
 	(
 		cd sub &&
 		rm -f .git &&
-		cp -a ../.git/modules/sub .git &&
+		cp -RpP ../.git/modules/sub .git &&
 		GIT_WORK_TREE=. git config --unset core.worktree
 	) &&
 	mkdir mod &&
