summaryrefslogtreecommitdiff
path: root/t/t3412-rebase-root.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-03 21:07:07 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-03 21:07:11 -0800
commit61d86605dd78f0ac9150e1fc9b99d87d2410e37b (patch)
tree9ee2b85fd788e2fe0c44b1024d8a6588325541cf /t/t3412-rebase-root.sh
parentbd9efbf35424c9436f62768e47f5819c9b5bcf9e (diff)
downloadgit-61d86605dd78f0ac9150e1fc9b99d87d2410e37b.tar.gz
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>
Diffstat (limited to 't/t3412-rebase-root.sh')
-rwxr-xr-xt/t3412-rebase-root.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/t/t3412-rebase-root.sh b/t/t3412-rebase-root.sh
index 57a3cad2d9..5869061c5b 100755
--- a/t/t3412-rebase-root.sh
+++ b/t/t3412-rebase-root.sh
@@ -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