Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'km/avoid-cp-a' into maint
author
Junio C Hamano
<gitster@pobox.com>
Thu, 8 May 2014 16:59:41 +0000
(09:59 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 8 May 2014 16:59:41 +0000
(09:59 -0700)
Some tests used shell constructs that did not work well on FreeBSD
* km/avoid-cp-a:
test: fix t7001 cp to use POSIX options
t/t7001-mv.sh
patch
|
blob
|
history
raw
(from parent 1:
0bc85ab
)
diff --git
a/t/t7001-mv.sh
b/t/t7001-mv.sh
index 215d43d6a6c8ce7f2b30e32dce6dfe34adc98b15..c8ff9115ec51ded977bcdcef0346b9a7dbaca2e6 100755
(executable)
--- a/
t/t7001-mv.sh
+++ b/
t/t7001-mv.sh
@@
-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 -
a
../.git/modules/sub .git &&
+ cp -
R -P -p
../.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 -
a
../.git/modules/sub .git &&
+ cp -
R -P -p
../.git/modules/sub .git &&
GIT_WORK_TREE=. git config --unset core.worktree
) &&
mkdir mod &&