summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-10-25 01:39:19 +0200
committerJunio C Hamano <gitster@pobox.com>2009-10-24 17:21:24 -0700
commit3319df6f3aa3271124847e2c91c7e6d0be961bc6 (patch)
tree925c649097ba2d0c6b68b4b920a857b6d3251ebb /t
parent36e561064e83d3f890f8fa128b3ca4e0d7691f10 (diff)
downloadgit-3319df6f3aa3271124847e2c91c7e6d0be961bc6.tar.gz
t7800-difftool: fix the effectless GIT_DIFFTOOL_PROMPT test
GIT_DIFFTOOL_PROMPT doesn't have any effect if overridden with --prompt. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t7800-difftool.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh
index ebdccf9a1e..fff6a6d0ea 100755
--- a/t/t7800-difftool.sh
+++ b/t/t7800-difftool.sh
@@ -136,7 +136,7 @@ test_expect_success 'GIT_DIFFTOOL_PROMPT variable' '
GIT_DIFFTOOL_PROMPT=true &&
export GIT_DIFFTOOL_PROMPT &&
- prompt=$(echo | git difftool --prompt branch | tail -1) &&
+ prompt=$(echo | git difftool branch | tail -1) &&
prompt_given "$prompt" &&
restore_test_defaults