aboutsummaryrefslogtreecommitdiff
path: root/t/annotate-tests.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-11 12:01:54 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-11 12:32:54 -0700
commit8ff99e7417fcbff67d2c31445671fa97e44c95e7 (patch)
tree133e202e99a5454c6b33a94564984b59e7aef5be /t/annotate-tests.sh
parent55b7835e1b81a6debc7648149d2b8a4c5c64ddba (diff)
downloadgit-8ff99e7417fcbff67d2c31445671fa97e44c95e7.tar.gz
git-8ff99e7417fcbff67d2c31445671fa97e44c95e7.tar.xz
tests: Set EDITOR=: and VISUAL=: globally
This way we don't have to remember to set it for each test; and if we forget, we won't cause interactive editors to be spawned for non-interactive tests. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/annotate-tests.sh')
-rw-r--r--t/annotate-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index 1148b0257..b6a2edd88 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=: VISUAL=: git commit -a --amend'
+ 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' \