Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as current branch reflog
- From
Nicolas Pitre <nico@cam.org>
- Date
- Feb 2, 2007, 14:55 UTC
- Message-ID
- <Pine.LNX.4.64.0702020953190.3021@xanadu.home>
- In-Reply-To
- <200702021302.10567.andyparkins@gmail.com>
On Fri, 2 Feb 2007, Andy Parkins wrote:
Show 6 quoted lines
> 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