threads / patch / 3635

patchannotate-tests: override VISUAL when running tests.

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

## tl;dr

One message between Mar 12, 2006 and Mar 12, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Mark Wooding· Mar 12, 2006, 14:00 UTC · lore
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(-)
Show changes to t/annotate-tests.sh +1 −1
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' \

← back to recent threads