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
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jan 30, 2010, 16:46 UTC
Message-ID
<201001301746.13620.markus.heidelberg@web.de>
In-Reply-To
<alpine.DEB.1.00.1001301746200.4985@pacific.mpi-cbg.de>
Johannes Schindelin, 2010-01-30:
Show 16 quoted lines
> Hi,
> 
> On Sat, 30 Jan 2010, Markus Heidelberg wrote:
> 
> > 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 [...]'?
That was my initial fix, but then I found this in line 519:
        GIT_PAGER='' git diff --stat --summary "$mb" "$onto"
and decided to keep consistency.
Don't know.
Markus
Previous: Johannes SchindelinNext: Markus Heidelberg
Message 3 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.