Re: [PATCH 2/2] reflog: ignore expire-unreachable for "HEAD" reflog
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 15, 2010, 16:57 UTC
- Message-ID
- <7vhbnck618.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100415163607.GA4279@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I think another way of addressing the same problem would be to redefine > "reachable" in this context as "reachable from any current ref".
I tend to agree, but I haven't thought through the case for entries that point at commits on detached HEAD. My gut feeling is that unless they are connected to a real ref by now after all these expireunreachable days, they are "failed experiments" and deserve to get pruned, so "from any ref"