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

[PATCH] t1400-update-ref: set VISUAL=true as well as EDITOR=true

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 11, 2006, 08:41 UTC
Message-ID
<11526072802855-git-send-email-normalperson@yhbt.net>

I have VISUAL set in my environment, and it caused git-commit to spawn my editor during the test.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 t/t1400-update-ref.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t1400-update-ref.sh b/t/t1400-update-ref.sh
index 6a3515d..4f5b6bd 100755
--- a/t/t1400-update-ref.sh
+++ b/t/t1400-update-ref.sh
@@ -190,7 +190,7 @@ test_expect_success \
 	 GIT_COMMITTER_DATE="2005-05-26 23:41" git-commit -F M -a &&
 	 h_OTHER=$(git-rev-parse --verify HEAD) &&
 	 echo FIXED >F &&
-	 EDITOR=true \
+	 EDITOR=true VISUAL=true \
 	 GIT_AUTHOR_DATE="2005-05-26 23:44" \
 	 GIT_COMMITTER_DATE="2005-05-26 23:44" git-commit --amend &&
 	 h_FIXED=$(git-rev-parse --verify HEAD) &&
-- 
1.4.1.g710d
Next: Junio C Hamano
Message 1 of 3 in “t1400-update-ref: set VISUAL=true as well as EDITOR=true”
  1. t1400-update-ref: set VISUAL=true as well as EDITOR=trueEric Wong, Jul 11, 2006
  2. Junio C HamanoJul 11, 2006
  3. tests: Set EDITOR=: and VISUAL=: globallyEric Wong, Jul 11, 2006

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.