git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jan 30, 2010, 16:23 UTC
Message-ID
<1264868617-18547-1-git-send-email-markus.heidelberg@web.de>

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>
---
 git-rebase.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-rebase.sh b/git-rebase.sh
index b5d9178..fb4fef7 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
-- 
1.7.0.rc0.71.g95b6e
Next: Johannes Schindelin
Message 1 of 5 in “rebase: don't invoke the pager for each commit summary”
  1. rebase: don't invoke the pager for each commit summaryMarkus Heidelberg, Jan 30, 2010
  2. Johannes SchindelinJan 30, 2010
  3. Markus HeidelbergJan 30, 2010
  4. Markus HeidelbergJan 30, 2010
  5. Stephen BoydFeb 1, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.