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

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 30, 2010, 16:47 UTC
Message-ID
<alpine.DEB.1.00.1001301746200.4985@pacific.mpi-cbg.de>
In-Reply-To
<1264868617-18547-1-git-send-email-markus.heidelberg@web.de>
Hi,
On Sat, 30 Jan 2010, Markus Heidelberg wrote:
Show 10 quoted lines
> 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"
Would it not be better 'git --no-pager log [...]'?

Ciao, Dscho

Previous: Markus HeidelbergNext: Markus Heidelberg
Message 2 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.