summaryrefslogtreecommitdiff
path: root/t/t7610-mergetool.sh
diff options
context:
space:
mode:
authorCharles Bailey <charles@hashpling.org>2009-01-30 23:20:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-01-31 18:28:33 (GMT)
commitff4a18552aa48f3227e2465072951dacc34aee9b (patch)
tree77bcfdf9d64beab8ffd4ec4702edb65614f8d60f /t/t7610-mergetool.sh
parentb9b5078ece4b22c14a36f20bd9dce88d2f350a36 (diff)
downloadgit-ff4a18552aa48f3227e2465072951dacc34aee9b.zip
git-ff4a18552aa48f3227e2465072951dacc34aee9b.tar.gz
git-ff4a18552aa48f3227e2465072951dacc34aee9b.tar.bz2
mergetool: fix running mergetool in sub-directories
The previous fix to mergetool to use checkout-index instead of cat-file broke running mergetool anywhere except the root of the repository. This fixes it by using the correct relative paths for temporary files and index paths. Signed-off-by: Charles Bailey <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7610-mergetool.sh')
-rwxr-xr-xt/t7610-mergetool.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7610-mergetool.sh b/t/t7610-mergetool.sh
index ee8589e..e768c3e 100755
--- a/t/t7610-mergetool.sh
+++ b/t/t7610-mergetool.sh
@@ -66,7 +66,7 @@ test_expect_success 'mergetool crlf' '
git reset --hard
'
-test_expect_failure 'mergetool in subdir' '
+test_expect_success 'mergetool in subdir' '
git checkout -b test3 branch1
cd subdir && (
test_must_fail git merge master >/dev/null 2>&1 &&