Skip to content

Commit 31d8738

Browse files
marcowsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3a985c2 commit 31d8738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ continue_merge () {
8686
fi
8787
fi
8888
test -z "$GIT_QUIET" &&
89-
git log --format=%s -1 "$cmt"
89+
GIT_PAGER='' git log --format=%s -1 "$cmt"
9090

9191
prev_head=`git rev-parse HEAD^0`
9292
# save the resulting commit so we can read-tree on it later

0 commit comments

Comments
 (0)