Re: [PATCH v2] remote.c: defer remote.<name>.followRemoteHEAD validation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2026, 04:03 UTC
- Message-ID
- <xmqqjymqobc3.fsf@gitster.g>
- In-Reply-To
- <DMJFKJCI5DLL.12R7AMFO4DK2Y@lfurio.us>
"Matt Hunter" <m@lfurio.us> writes:
Show 9 quoted lines
> I should explain myself better. I don't mean Colin should avoid > splitting out logic from the main flow in do_fetch. But the end result > can be reached without introducing a new function. I find needing to > hold fewer functions in my head makes the code easier to reason about, > though that is a subjective point. > > The idea in my head is below and is > Signed-off-by: Matt Hunter <m@lfurio.us> > Feel free to run with this or not.
Hmph, interesting. Can you rewrite Colin's patch using this, and then merge the result into 'seen' (after reverting Colin's topic ch/remote-defer-follow-remote-head-validation from 'seen' first) to see how badly it crashes with other topics in flight?
Thanks.