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

Re: [PATCH v2] fetch.c: defer fetch.followRemoteHEAD validation

From
Colin Hinton <colinlewishinton@gmail.com>
Date
Oct 3, 2026, 04:50 UTC
Message-ID
<CAHeTm9MBx_ndL1XkdyjtjFaGvoF69AHwP6DLYsirpBVsiNRfAA@mail.gmail.com>
In-Reply-To
<xmqqpkxua87a.fsf@gitster.g>
Show 10 quoted lines
> > Perhaps at a minimum, this patch should leave the comment intact (or
> > reworded) if not yet addressing remote.c.  v3 otherwise is looking good
> > to me, and functionality seems to work.
>
> To end users, the annoyance factor due to an irrelevant incorrect
> setting in fetch.followRemoteHEAD and remote.*.followRemoteHEAD
> variables killing their "git fetch" are the same.  Correcting one
> may be better than correcting none, but until both gets corrected,
> we cannot claim we helped users.
>

All good points, I will add the NEEDSWORK back into this patch as this is a half measure to the entire problem; however, rather than leaving the NEEDSWORK in fetch.c, I will move it to remote.c near the remaining defect in handle_config(), and maybe add a short comment in fetch.c for context of this fix. Unless there are any concerns, V4 should be released soon.

-Colin Hinton
Previous: Junio C HamanoNext: Colin Hinton
Message 12 of 22 in “fetch.c: defer fetch.followRemoteHEAD validation”
  1. fetch.c: defer fetch.followRemoteHEAD validationColin Hinton, Sep 22, 2026
  2. Junio C HamanoSep 22, 2026
  3. Colin HintonSep 23, 2026
  4. Matt HunterSep 24, 2026
  5. Colin HintonSep 25, 2026
  6. Matt HunterSep 24, 2026
  7. fetch.c: defer fetch.followRemoteHEAD validationColin Hinton, Sep 25, 2026
  8. Junio C HamanoSep 25, 2026
  9. Colin HintonSep 25, 2026
  10. Matt HunterSep 30, 2026
  11. Junio C HamanoSep 30, 2026
  12. Colin HintonOct 3, 2026
  13. fetch.c: defer fetch.followRemoteHEAD validationColin Hinton, Sep 25, 2026
  14. fetch.c: defer fetch.followRemoteHEAD validationColin Hinton, Oct 3, 2026
  15. Junio C HamanoOct 4, 2026
  16. Colin HintonOct 4, 2026
  17. Junio C HamanoOct 4, 2026
  18. fetch.c: defer fetch.followRemoteHEAD validationColin Hinton, Oct 4, 2026
  19. Matt HunterOct 5, 2026
  20. Junio C HamanoOct 5, 2026
  21. fetch.c: defer fetch.followRemoteHEAD validationColin Hinton, Oct 6, 2026
  22. Junio C HamanoOct 7, 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.