@matheusbsbs / matheus-bagliano / commits / 61d86605dd
Fork 0

t3412: further simplify setting of GIT_EDITOR

2182896 (t3412: clean up GIT_EDITOR usage, 2009-01-30) tried to clean up the script's use of GIT_EDITOR, but it can further be simplified, because that is how test-lib.sh sets things up already. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Feb 3, 2009 at 21:07 UTC 61d86605dd78f0ac9150e1fc9b99d87d2410e37b
1 file changed -4
t/t3412-rebase-root.sh
-4
@@ -6,10 +6,6 @@ Tests if git rebase --root --onto <newparent> can rebase the root commit.
6 '
7 . ./test-lib.sh
8
9 -# we always run the interactive rebases unchanged, so just disable the editor
10 -GIT_EDITOR=:
11 -export GIT_EDITOR
12 -
9 log_with_names () {
10 git rev-list --topo-order --parents --pretty="tformat:%s" HEAD |
11 git name-rev --stdin --name-only --refs=refs/heads/$1