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

Re: [PATCH resend] builtin/clone: fix segfault when using --revision on some servers

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 24, 2026, 16:04 UTC
Message-ID
<xmqqldb08jcd.fsf@gitster.g>
In-Reply-To
<20260724123735.666021-1-adrian.friedli@mt.com>
Adrian Friedli <adrian.friedli@mt.com> writes:
Show 9 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> So this patch fixes the issue in the right place.  It would still be
>> nice to have a new test to prevent future regressions, though.
>
> Thanks for your review.
>
> While implementing the test I discovered it is protocol version 0 which
> triggers that behavior. I updated the log message and implemented a test.

Oh, the proposed log message reads wonderfully. Thanks for digging down to the root cause of the issue.

Previous: Adrian FriedliNext: Adrian Friedli
Message 5 of 6 in “builtin/clone: fix segfault when using --revision on some servers”
  1. builtin/clone: fix segfault when using --revision on some serversAdrian Friedli, Jul 23, 2026
  2. Junio C HamanoJul 23, 2026
  3. Junio C HamanoJul 23, 2026
  4. Adrian FriedliJul 24, 2026
  5. Junio C HamanoJul 24, 2026
  6. builtin/clone: fix segfault when using --revision with protocol v0Adrian Friedli, Jul 24, 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.