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

Re: [PATCH v2] pack-objects: trace pack bytes written

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 21, 2026, 03:33 UTC
Message-ID
<xmqqpkzcrvun.fsf@gitster.g>
In-Reply-To
<20260821004019.GA296407@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> Of course what I'd _really_ like to do is rip out --max-pack-size
> entirely. I don't think it's generally helpful, and it introduces all
> kinds of weird corner cases and complications like this. But obviously
> that's a much bigger change, and naturally if I seriously proposed it
> somebody would come out of the woodwork so with obscure case where it's
> useful.
;-)  Perhaps Git 3.0 boundary?
> I think this is a case where we could similarly relax. Especially
> because this is just the pack checksum. The actual object contents are
> still protected by their respective hashes.

Yes. Dropping the "(b) validate as we re-read" step is a reasonable thing to do with the least disruption from that viewpoint.

Thanks.
Previous: Jeff KingNext: Junio C Hamano
Message 8 of 11 in “pack-objects: trace pack bytes written”
  1. pack-objects: trace pack bytes writtenfriel@openai.com, Aug 17, 2026
  2. Junio C HamanoAug 18, 2026
  3. pack-objects: trace pack bytes writtenfriel@openai.com, Aug 19, 2026
  4. Patrick SteinhardtAug 20, 2026
  5. Jeff KingAug 20, 2026
  6. Patrick SteinhardtAug 20, 2026
  7. Jeff KingAug 21, 2026
  8. Junio C HamanoAug 21, 2026
  9. Junio C HamanoAug 20, 2026
  10. Jeff KingAug 21, 2026
  11. Junio C HamanoAug 21, 2026

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.