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

Re: [PATCH] pretty: lazy-load commit data when expanding user-format

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 28, 2021, 23:25 UTC
Message-ID
<xmqqlfccve2s.fsf@gitster.c.googlers.com>
In-Reply-To
<YBMXM83xCZvC5WyA@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> I added the final test to show where we don't improve (the 1% there is
> just lucky noise), but also as a regression test to make sure we're not
> doing anything stupid like loading the commit multiple times when there
> are several placeholders that need it.
>
> Reported-by: Michael Haggerty <mhagger@alum.mit.edu>
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> This benefits "rev-list --format=", as well, though there you can also
> use things like "--parents" instead, which are already fast.

Quite pleased to see more work lazily done (and personally I am happy to see Michael's name on the list---say Hi, I missed him).

Previous: Taylor Blau
Message 5 of 5 in “pretty: lazy-load commit data when expanding user-format”
  1. pretty: lazy-load commit data when expanding user-formatJeff King, Jan 28, 2021
  2. Ævar Arnfjörð BjarmasonJan 28, 2021
  3. Jeff KingJan 29, 2021
  4. Taylor BlauJan 28, 2021
  5. Junio C HamanoJan 28, 2021

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.