From: Markus Heidelberg Date: Sat, 30 Jan 2010 16:23:37 +0000 (+0100) Subject: rebase: don't invoke the pager for each commit summary X-Git-Tag: v1.7.0-rc1~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31d87385c4fbd7fc4ab295f2848531b5c1021828;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-rebase.sh b/git-rebase.sh index b5d917827..fb4fef7b1 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -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