Browse Source

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>
maint
Markus Heidelberg 15 years ago committed by Junio C Hamano
parent
commit
31d87385c4
  1. 2
      git-rebase.sh

2
git-rebase.sh

@ -86,7 +86,7 @@ continue_merge () { @@ -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

Loading…
Cancel
Save