Skip to content

Commit

Permalink
t3412: further simplify setting of GIT_EDITOR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Feb 4, 2009
1 parent bd9efbf commit 61d8660
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions t/t3412-rebase-root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ Tests if git rebase --root --onto <newparent> can rebase the root commit.
'
. ./test-lib.sh

# we always run the interactive rebases unchanged, so just disable the editor
GIT_EDITOR=:
export GIT_EDITOR

log_with_names () {
git rev-list --topo-order --parents --pretty="tformat:%s" HEAD |
git name-rev --stdin --name-only --refs=refs/heads/$1
Expand Down

0 comments on commit 61d8660

Please sign in to comment.