Re: [PATCH 1/2] refs/reftable: don't fail empty transactions in repo without HEAD
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 5, 2024, 15:59 UTC
- Message-ID
- <xmqqmsrc655o.fsf@gitster.g>
- In-Reply-To
- <ZecFXXqUdGEQ3YhC@tanuki>
Patrick Steinhardt <ps@pks.im> writes:
> So it's not uninitialized, it rather is stale.
What I wanted to say with "technically it is not" was that these two are moral equivalents in the code around there after the early return happened ;-).
> I can send a follow-up patch to remove the useless variable assignment > in the test, but other than that I don't think anything needs to change > here.
OK, thanks.