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

Re: [Funky] "git -p cmd" inside a bare repository

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 14, 2007, 19:44 UTC
Message-ID
<Pine.LNX.4.64.0712141943280.27959@racer.site>
In-Reply-To
<7vmysexdvw.fsf@gitster.siamese.dyndns.org>
Hi,
On Thu, 13 Dec 2007, Junio C Hamano wrote:
Show 8 quoted lines
> If you have a bare repository and try this there:
> 
> 	$ PAGER=head git show HEAD:gcc/ChangeLog
> 
> it works as expected, but if you explicitly ask for pagination, like
> this:
> 
> 	$ PAGER=head git -p show HEAD:gcc/ChangeLog

I have no time left to work on git for a few days, so I cannot even review your patch. But Jeff's patch being smaller, I could, and AFAICT it solves the problem.

Ciao, Dscho

Previous: Nguyen Thai Ngoc DuyNext: Junio C Hamano
Message 8 of 10 in “Do check_repository_format() early”
  1. Do check_repository_format() earlyNguyễn Thái Ngọc Duy, Nov 29, 2007
  2. [Funky] "git -p cmd" inside a bare repositoryJunio C Hamano, Dec 14, 2007
  3. make git start-up sequence a bit more robustJunio C Hamano, Dec 14, 2007
  4. Jeff KingDec 14, 2007
  5. Jeff KingDec 14, 2007
  6. Junio C HamanoDec 14, 2007
  7. Nguyen Thai Ngoc DuyDec 14, 2007
  8. Johannes SchindelinDec 14, 2007
  9. Junio C HamanoDec 14, 2007
  10. Johannes SchindelinDec 14, 2007

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.