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

[PATCH] annotate-tests: override VISUAL when running tests.

From
MWMark Wooding <mdw@distorted.org.uk>
Date
Mar 12, 2006, 14:00 UTC
Message-ID
<20060312140030.25272.9782.stgit@metalzone.distorted.org.uk>
From: Mark Wooding <mdw@distorted.org.uk>

The tests hang for me waiting for Emacs with its output directed somewhere strage, because I hedged my bets and set both EDITOR and VISUAL to run Emacs.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
---
 t/annotate-tests.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index 9c5a15a..114938c 100644
--- a/t/annotate-tests.sh
+++ b/t/annotate-tests.sh
@@ -94,7 +94,7 @@ test_expect_success \
 test_expect_success \
     'merge-setup part 4' \
     'echo "evil merge." >>file &&
-     EDITOR=: git commit -a --amend'
+     EDITOR=: VISUAL=: git commit -a --amend'
 
 test_expect_success \
     'Two lines blamed on A, one on B, two on B1, one on B2, one on A U Thor' \
Message 1 of 1 in “annotate-tests: override VISUAL when running tests.”
  1. annotate-tests: override VISUAL when running tests.Mark Wooding, Mar 12, 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.