Make sure the empty tree exists when needed in merge-recursive.
[gitweb.git] / t / t7001-mv.sh
index 23a1eff3bba4505d449bd5fdffb3daf7f9b23ddf..2f4ff82e149c497d79583f6b431b29d597e4a1ae 100755 (executable)
@@ -105,4 +105,17 @@ test_expect_success "Michael Cassar's test case" '
        }
 '
 
+rm -fr papers partA path?
+
+test_expect_success "Sergey Vlasov's test case" '
+       rm -fr .git &&
+       git init-db &&
+       mkdir ab &&
+       date >ab.c &&
+       date >ab/d &&
+       git add ab.c ab &&
+       git commit -m 'initial' &&
+       git mv ab a
+'
+
 test_done