summaryrefslogtreecommitdiff
path: root/t/t6023-merge-file.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-03-05 13:13:10 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-05 13:13:11 -0800
commit33367575b85a115900deac600cc4f8f03ec4754b (patch)
tree1bf8567d605c6265bd5d1f43d9bafcf80aac54d4 /t/t6023-merge-file.sh
parentMerge branch 'ps/submodule-sanitize-path-upon-add' into maint (diff)
parentmerge-file: correctly open files when in a subdir (diff)
downloadtgif-33367575b85a115900deac600cc4f8f03ec4754b.tar.xz
Merge branch 'ab/merge-file-prefix' into maint
"git merge-file" did not work correctly in a subdirectory. * ab/merge-file-prefix: merge-file: correctly open files when in a subdir
Diffstat (limited to 't/t6023-merge-file.sh')
-rwxr-xr-xt/t6023-merge-file.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t6023-merge-file.sh b/t/t6023-merge-file.sh
index 3758961765..190ee903cf 100755
--- a/t/t6023-merge-file.sh
+++ b/t/t6023-merge-file.sh
@@ -69,7 +69,8 @@ test_expect_success 'works in subdirectory' '
cp new1.txt dir/a.txt &&
cp orig.txt dir/o.txt &&
cp new2.txt dir/b.txt &&
- ( cd dir && git merge-file a.txt o.txt b.txt )
+ ( cd dir && git merge-file a.txt o.txt b.txt ) &&
+ test_path_is_missing a.txt
'
cp new1.txt test.txt