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

Re: [PATCH] blame: only parse detailed commit info if needed

From
Patrick Steinhardt <ps@pks.im>
Date
Jul 22, 2025, 14:15 UTC
Message-ID
<aH-dGhHm2xuY4yT3@pks.im>
In-Reply-To
<20250722114220.87570-1-hanyang.tony@bytedance.com>
On Tue, Jul 22, 2025 at 07:42:20PM +0800, Han Young wrote:
Show 5 quoted lines
> In commit cee7f245d (git-pickaxe: blame rewritten., 2006-10-19),
> The function get_commit_info can terminate commit parsing early if only
> the author information is needed. This ability is not used by callers
> who do not require detailed commit information. Stop requesting detailed
> commit information for these callers.
Okay. I think there's two important pieces of information missing here:
  - What does this buy us? I guess the answer is performance, but it
    would be sure to quantify in which scenarios and how much of a
    speedup this buys us.
  - Any reasoning why those two callers don't need the information.
    Reviewers can try to piece it together manually, but it would be
    nice to hold their hand and lead them through the change.
Thanks!
Patrick
Previous: Han YoungNext: Junio C Hamano
Message 2 of 4 in “blame: only parse detailed commit info if needed”
  1. blame: only parse detailed commit info if neededHan Young, Jul 22, 2025
  2. Patrick SteinhardtJul 22, 2025
  3. Junio C HamanoJul 22, 2025
  4. Han YoungJul 23, 2025

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.