Re: [PATCH 7/8] refs: add 'update-symref' command to 'update-ref'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 2, 2024, 16:40 UTC
- Message-ID
- <xmqqil0z7m5y.fsf@gitster.g>
- In-Reply-To
- <Zgv4H66NmLZ_o1IC@tanuki>
Patrick Steinhardt <ps@pks.im> writes:
Show 5 quoted lines
> because they have been supported by Git all along. It simply makes our > lifes easier when we don't have to special-case creations and deletions > in any way. > > So I'd really not want those to go away or become deprecated.
That is a good input.
Do you have anything to add as a counter-proposal? The "I do not care what was there before" update mode does make it necessary to have a "zero" value for symrefs that can be distinguishable from not having a value at all.
Thanks.