summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-08-15 21:15:32 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-15 21:15:32 -0700
commitc9c3470aec3a1d753ac1e5f21358f6374c1add95 (patch)
tree32cfcecc5dfb4491eb054d9576f0db50fe058bbf /t
parentuse appropriate typedefs (diff)
parentfinish_connect(): thinkofix (diff)
downloadtgif-c9c3470aec3a1d753ac1e5f21358f6374c1add95.tar.xz
Merge branch 'maint'
* maint: finish_connect(): thinkofix git-mv: succeed even if source is a prefix of destination Solaris does not support C99 format strings before version 10
Diffstat (limited to 't')
-rwxr-xr-xt/t7001-mv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index 900ca93cde..e5e0bb9d51 100755
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
@@ -60,6 +60,10 @@ test_expect_success \
grep -E "^R100.+path0/README.+path2/README"'
test_expect_success \
+ 'succeed when source is a prefix of destination' \
+ 'git-mv path2/COPYING path2/COPYING-renamed'
+
+test_expect_success \
'moving whole subdirectory into subdirectory' \
'git-mv path2 path1'