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

Re: about c8af1de9 (git status uses pager)

From
Jeff King <peff@peff.net>
Date
Jul 3, 2008, 19:08 UTC
Message-ID
<20080703190829.GA18205@sigill.intra.peff.net>
In-Reply-To
<08353871-5C94-4E97-9589-DC3980C47CD4@wincent.com>
On Thu, Jul 03, 2008 at 03:37:30PM +0200, Wincent Colaiuta wrote:
Show 14 quoted lines
>>> This [changing git status to use the pager automatically] was quite a
>>> nasty change to sneak on people I think.
>>
>> Well, I think that a command producing pages and pages of output
>> without stopping is useless.  Therefore, _I_ maintain that it makes
>> tons of  sense.
>
> Ditto. For me, the change was very welcome. Sure, usually the status
> output is short, but on those occasions where it isn't (big file
> reorganizations etc) I was quite sick of doing the "git status, oops
> that output was too long let's try again, git -p status" dance. It was
> also incongruous with my very first experiences with Git, where I had
> been pleasantly surprised that "git log" automatically invoked the
> pager whereas "svn log" just spewed output into my console until ^C.

I think there is not much point in discussing whether "git status" should use a pager. It is obvious at this point that some people love it, and some people despise it, and it seems to be a matter of personal preference. The only sane way forward seems to be configurable paging. So the next steps are:

  - getting a configurable paging patch that is good enough; I just
    posted another trial, but there are still a few caveats. I would
    love to hear commentary on whether people find it acceptable.
  - once there is a patch, there is still the matter of "on by default,
    make people configure off" versus "off by default, make people
    configure on". And then you can make arguments about how the default
    changes the new user experience, but hopefully there will be a
    little less vehemence on both sides, since it is "here's what new
    users should see" and not "here's what I am forced to see every
    day".
-Peff
Previous: Wincent ColaiutaNext: Wincent Colaiuta
Message 13 of 21 in “about c8af1de9 (git status uses pager)”
  1. Jan EngelhardtJun 21, 2008
  2. Vegard NossumJun 21, 2008
  3. Junio C HamanoJun 21, 2008
  4. Jan EngelhardtJun 21, 2008
  5. Jan EngelhardtJun 22, 2008
  6. Junio C HamanoJun 22, 2008
  7. Junio C HamanoJun 22, 2008
  8. Jeff KingJun 23, 2008
  9. Tim StoakesJul 3, 2008
  10. Jeff KingJul 3, 2008
  11. Johannes SchindelinJul 3, 2008
  12. Wincent ColaiutaJul 3, 2008
  13. Jeff KingJul 3, 2008
  14. Wincent ColaiutaJul 3, 2008
  15. Vegard NossumJun 22, 2008
  16. Johannes GilgerJun 21, 2008
  17. Johannes GilgerJun 22, 2008
  18. Dan McGeeJun 26, 2008
  19. Matthieu MoyJun 26, 2008
  20. Wincent ColaiutaJun 26, 2008
  21. Jeff KingJun 26, 2008

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.