git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t7800-difftool: fix the effectless GIT_DIFFTOOL_PROMPT test

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Oct 24, 2009, 23:39 UTC
Message-ID
<1256427559-28698-1-git-send-email-markus.heidelberg@web.de>
GIT_DIFFTOOL_PROMPT doesn't have any effect if overridden with --prompt.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 t/t7800-difftool.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh
index ebdccf9..fff6a6d 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
-- 
1.6.5.1.86.g7f7ff
Message 1 of 1 in “t7800-difftool: fix the effectless GIT_DIFFTOOL_PROMPT test”
  1. t7800-difftool: fix the effectless GIT_DIFFTOOL_PROMPT testMarkus Heidelberg, Oct 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.