Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t3412: further simplify setting of GIT_EDITOR
author
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Feb 2009 05:07:07 +0000
(21:07 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Feb 2009 05:07:11 +0000
(21:07 -0800)
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>
t/t3412-rebase-root.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
bd9efbf
)
diff --git
a/t/t3412-rebase-root.sh
b/t/t3412-rebase-root.sh
index 57a3cad2d93b472aaea5542e39c2171c2542bef6..5869061c5bfdee4a84b156b8ec9d6e331a2c906c 100755
(executable)
--- 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