aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-08-15 21:15:32 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-15 21:15:32 -0700
commitc9c3470aec3a1d753ac1e5f21358f6374c1add95 (patch)
tree32cfcecc5dfb4491eb054d9576f0db50fe058bbf /t
parent6f002f984f1d1ddfdae990582a423dc5263697ae (diff)
parent53e1a761be8d338cd957870bc1e48a8c15d7d2c0 (diff)
downloadgit-c9c3470aec3a1d753ac1e5f21358f6374c1add95.tar.gz
git-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 900ca93cd..e5e0bb9d5 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'