From: Jeff King Date: Wed, 14 Oct 2009 18:40:18 GMT Subject: Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was Message-ID: <20091014184018.GB15522@coredump.intra.peff.net> In-Reply-To: <7vljjdese3.fsf@alter.siamese.dyndns.org> On Wed, Oct 14, 2009 at 11:34:44AM -0700, Junio C Hamano wrote: > >> AFAIR we still remember HEAD to be a symlink. > > > > I think that has been abandoned for detached HEAD (that is, if you > > support only symlinked HEAD, then you cannot detach at all). But I might > > be wrong. It has been a while since I looked at that code. > > If I understand what Daniel is doing correctly, the idea is to keep this > extra information only while the HEAD is detached, no? "HEAD itself > could be a symlink" is an irrelevant issue, isn't it? Right. That is what I was trying to say, but somehow it didn't come out very clearly. -Peff