Re: [PATCH v10] setup: improve error diagnosis for invalid .git files
- From
Tian Yuchen <a3205153416@gmail.com>
- Date
- Feb 25, 2026, 16:03 UTC
- Message-ID
- <28bf5b66-8c08-43b1-b472-acb97c8f0eb7@gmail.com>
- In-Reply-To
- <xmqq8qchcz9w.fsf@gitster.g>
Hi Junio,
> Sorry, but I do not see what such a change buys us.
My primary concern was the function's semantics, though it is indeed redundant.
> Yes all this happens in repository set-up which should happen very > early in the process, no?
Should be like this.
Show 5 quoted lines
> It is a bug in the way you wrote that multi-threaded git server, no? > > We have the "_gently" variant for such a use case, and I do not > think we expect the normal single-process git start-up sequence > should be reused there.
I see. Thank you for the insights. I will drop these overly abstract ideas and keep my focus on practical fixes.
Regards,
Yuchen