rebase: don't invoke the pager for each commit summary

This regression was introduced by commit 0aa958d (rebase: replace
antiquated sed invocation, 2010-01-24), which changed the invocation of
"git rev-list | sed" to "git log".

It can be reproduced by something like this:
$ git rebase -s recursive origin/master

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Markus Heidelberg 2010-01-30 17:23:37 +01:00 committed by Junio C Hamano
parent 3a985c27fe
commit 31d87385c4

View File

@ -86,7 +86,7 @@ continue_merge () {
fi
fi
test -z "$GIT_QUIET" &&
git log --format=%s -1 "$cmt"
GIT_PAGER='' git log --format=%s -1 "$cmt"
prev_head=`git rev-parse HEAD^0`
# save the resulting commit so we can read-tree on it later