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
Adrian Friedli <adrian.friedli@mt.com>
Date
Jul 24, 2026, 12:37 UTC
Message-ID
<20260724123735.666021-1-adrian.friedli@mt.com>
In-Reply-To
<xmqqfr19lmau.fsf@gitster.g>
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.

Kind regards, Adrian

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 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.