From: Nicolas Pitre Date: Fri, 02 Feb 2007 14:55:26 GMT Subject: Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as current branch reflog Message-ID: In-Reply-To: <200702021302.10567.andyparkins@gmail.com> On Fri, 2 Feb 2007, Andy Parkins wrote: > On Friday 2007 February 02 11:02, Lars Hjemli wrote: > > > "HEAD@{yesterday}" = current branch, yesterday > > "@{yesterday}" = detached head (no branch), yesterday > > I'd vote for this too. It's the only logically consistent view. No it is not. > HEAD is a symbolic reference, it's a way of referring to a real branch by > another name. HEAD@{} should be the same as branch@{} to be consistent. HEAD is _NOT_ a symbolic reference. It _may_ happen to be a symbolic reference, but it _may_ happen to not be. And please see my previous email for more arguments. Nicolas