Re: [PATCH v2 0/3] Remove special casing for PSEUDOREF updates
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 10, 2020, 19:25 UTC
- Message-ID
- <xmqqwo3btboo.fsf@gitster.c.googlers.com>
- In-Reply-To
- <pull.673.v2.git.1594329108.gitgitgadget@gmail.com>
"Han-Wen Nienhuys via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> This gets rid of the special casing code for pseudorefs in refs.c > > This is in preparation for reftable. > > v2 > > * remove special casing of non-HEAD pseudorefs; update t1400 and t1405 > accordingly > * open question: should git-update-ref.txt be updated, when it talks about > logAllRefUpdates?
This does make writing ORIG_HEAD and friends a lot more heavyweight that just "write a 40-byte text file on the filesystem to remember it for a short while", and it becomes even so with the whole reflog thing, but I think it is a good longer term direction to go.
Others may disagree, though.
In any case, if we are changing the behaviour with these patches, we should update the documentation.
Thanks.