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

Re: [Feature request] "Hooks" for git log

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 12, 2020, 19:31 UTC
Message-ID
<xmqqblp1fjzb.fsf@gitster.c.googlers.com>
In-Reply-To
<87951584041001@myt5-5e0e3f348369.qloud-c.yandex.net>
Konstantin Tokarev <annulen@yandex.ru> writes:
Show 6 quoted lines
>> When pager is in use, git log loads commits lazily when you scroll down.
>> I find this feature rather crucial for working with any long history, and
>> I don't see how to achieve this with pipe.
>
> Nvm, passing to less -R makes it pause when needed. I've never realized it
> was that simple.

Heh, after all once you realize "git log" internally pipes its output to the pager, doing the same thing yourself should become trivial ;-)

Previous: Konstantin Tokarev
Message 6 of 6 in “[Feature request] "Hooks" for git log”
  1. Konstantin TokarevMar 12, 2020
  2. Konstantin TokarevMar 12, 2020
  3. Junio C HamanoMar 12, 2020
  4. Konstantin TokarevMar 12, 2020
  5. Konstantin TokarevMar 12, 2020
  6. Junio C HamanoMar 12, 2020

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.