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

Re: What's cooking in git.git (Mar 2026, #12)

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 31, 2026, 15:27 UTC
Message-ID
<xmqq341g3tol.fsf@gitster.g>
In-Reply-To
<actaFN8ds0cfgWxI@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 16 quoted lines
> On Mon, Mar 30, 2026 at 05:10:42PM -0700, Junio C Hamano wrote:
>> * ps/commit-graph-overflow-fix (2026-03-23) 1 commit
>>  - commit-graph: fix writing generations with dates exceeding 34 bits
>> 
>>  Fix a regression in writing the commit-graph where commits with dates
>>  exceeding 34 bits (beyond year 2514) could cause an underflow and
>>  crash Git during the generation data overflow chunk writing.
>> 
>>  Waiting for review response.
>>  cf. <xmqq1ph92pzs.fsf@gitster.g>
>>  source: <20260324-pks-commit-graph-overflow-v2-1-843568cf8780@pks.im>
>
> Shall this also be marked as "Will merge to next" based on our last
> discussion at [1]? I mostly want to ensure this is part of rc0 so that
> the regression isn't part of any tagged release, even if it's just a
> release candidate.

Even though I still feel uncomfortable hurrying to merge down an obviously UB code, instead of an uglier but far safer conditional compilation, patching it on top is trivial, so let's mark it for 'next'. Thanks for spotting.

Previous: Patrick Steinhardt
Message 5 of 5 in “What's cooking in git.git (Mar 2026, #12)”
  1. Junio C HamanoMar 31, 2026
  2. Mirko FainaMar 31, 2026
  3. Junio C HamanoMar 31, 2026
  4. Patrick SteinhardtMar 31, 2026
  5. Junio C HamanoMar 31, 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.