Thread (4 messages) 4 messages, 3 authors, 2022-02-03

Re: [PATCH 2/3] t1405: mark test that checks existence as REFFILES

From: Junio C Hamano <hidden>
Date: 2022-02-01 22:12:02

Ævar Arnfjörð Bjarmason [off-list ref] writes:
We could surely add magic record types, but how would such a dance be
performed while keeping compatibility with existing JGit clients?
Yes.  It is exactly the point of the question I asked.  If it is
simple and easy to add such a new type that is ignored/skipped by
existing clients, then we can go that route.  If it is simple and
easy to add a new bit per ref that existing clients would not barf,
we can use that as an alternative implementation strategy.

And if neither is possible, and there is no other viable third way,
then what I wrote in the part you omitted from your quote still
stands, which was:
quoted
It is probably a lot more sensible to fail refs_create_reflog() and
safe_create_reflog() (which is a thin wrapper around the former), if
we cannot implement "a reflog can exist and have no entries yet"
semantics.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help