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

Re: What's cooking in git.git (Sep 2025, #09; Mon, 22)

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 23, 2025, 14:14 UTC
Message-ID
<xmqq348dqmre.fsf@gitster.g>
In-Reply-To
<20250923031942.GA1484@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 22 quoted lines
> On Mon, Sep 22, 2025 at 04:01:01PM -0700, Junio C Hamano wrote:
>
>> * jk/setup-revisions-freefix (2025-09-19) 6 commits
>>   (merged to 'next' on 2025-09-22 at b178f27e6d)
>>  + revision: retain argv NULL invariant in setup_revisions()
>>  + treewide: pass strvecs around for setup_revisions_from_strvec()
>>  + treewide: use setup_revisions_from_strvec() when we have a strvec
>>  + revision: add wrapper to setup_revisions() from a strvec
>>  + revision: manage memory ownership of argv in setup_revisions()
>>  + stash: tell setup_revisions() to free our allocated strings
>> 
>>  There are double frees and leaks around setup_revisions() API used
>>  in "git stash show", which has been fixed, and setup_revisions()
>>  API gained a wrapper to make it more ergonomic when using it with
>>  strvec-manged argc/argv pairs.
>> 
>>  Expecting a reroll to fix t3903
>>  cf. <xmqq1pnywkwv.fsf@gitster.g>
>>  source: <20250919223351.GA3906184@coredump.intra.peff.net>
>
> Hmm, I was surprised to see this merged to next, especially with the
> comment at the bottom here.
Yeah, I am surprised too ;-)  Will fix.
Thanks.
Previous: Jeff KingNext: Patrick Steinhardt
Message 3 of 8 in “What's cooking in git.git (Sep 2025, #09; Mon, 22)”
  1. Junio C HamanoSep 22, 2025
  2. Jeff KingSep 23, 2025
  3. Junio C HamanoSep 23, 2025
  4. Patrick SteinhardtSep 23, 2025
  5. Junio C HamanoSep 23, 2025
  6. SZEDER GáborSep 24, 2025
  7. Patrick SteinhardtSep 24, 2025
  8. Junio C HamanoSep 24, 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.