]> git.ipfire.org Git - thirdparty/git.git/commit - t/lib-rebase.sh
t3404: remove uneeded calls to set_fake_editor
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Tue, 15 Oct 2019 10:25:29 +0000 (10:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Oct 2019 01:30:51 +0000 (10:30 +0900)
commit6a619ca03ce82988f2039ecdfd3565d54aa4d9ed
tree3c9c678a0ed8998366539d99f3d19c14f48c043e
parentb2dbacbddfc40e9715d928dafe3256bb56d91dde
t3404: remove uneeded calls to set_fake_editor

Some tests were calling set_fake_editor to ensure they had a sane no-op
editor set. Now that all the editor setting is done in subshells these
tests can rely on EDITOR=: and so do not need to call set_fake_editor.

Also add a test at the end to detect any future additions messing with
the exported value of $EDITOR.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-rebase.sh
t/t3404-rebase-interactive.sh