Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: More explicit error messages for open "-|"
[gitweb.git]
/
t
/
t7001-mv.sh
diff --git
a/t/t7001-mv.sh
b/t/t7001-mv.sh
index 322eaadc730dd022fffe92aba2cba717a3ebe7dc..900ca93cde02f82c35a59ee99349f9d0c4213867 100755
(executable)
--- a/
t/t7001-mv.sh
+++ b/
t/t7001-mv.sh
@@
-74,4
+74,8
@@
test_expect_success \
git-diff-tree -r -M --name-status HEAD^ HEAD | \
grep -E "^R100.+path2/README.+path1/path2/README"'
+test_expect_failure \
+ 'do not move directory over existing directory' \
+ 'mkdir path0 && mkdir path0/path2 && git-mv path2 path0'
+
test_done