Skip to content

Commit 61d8660

Browse files
committed
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 <[email protected]>
1 parent bd9efbf commit 61d8660

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

t/t3412-rebase-root.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ Tests if git rebase --root --onto <newparent> can rebase the root commit.
66
'
77
. ./test-lib.sh
88

9-
# we always run the interactive rebases unchanged, so just disable the editor
10-
GIT_EDITOR=:
11-
export GIT_EDITOR
12-
139
log_with_names () {
1410
git rev-list --topo-order --parents --pretty="tformat:%s" HEAD |
1511
git name-rev --stdin --name-only --refs=refs/heads/$1

0 commit comments

Comments
 (0)