Skip to content

Commit

Permalink
rebase: don't invoke the pager for each commit summary
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
marcows authored and gitster committed Jan 30, 2010
1 parent 3a985c2 commit 31d8738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31d8738

Please sign in to comment.