From: Lars Hjemli Date: Mon, 05 Feb 2007 23:11:26 GMT Subject: Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as current branch reflog Message-ID: <8c5c35580702051511m6d31973bw1f19832afe583487@mail.gmail.com> In-Reply-To: On 2/5/07, Johannes Schindelin wrote: > Hi, > > On Fri, 2 Feb 2007, Lars Hjemli wrote: > > > I think the following makes perfect sense: > > > > "HEAD@{yesterday}" = current branch, yesterday > > "@{yesterday}" = detached head (no branch), yesterday > > Okay, so you say "HEAD@{yesterday}" does _not_ give you what HEAD pointed > to yesterday, but "@{yesterday}" does? > > Instead "HEAD@{yesterday}" looks up what HEAD points to _now_, and _then_ > goes back to yesterday, finding out what that particular branch pointed to > then, _regardless_ what HEAD was then? > > Oh my, that's convoluted. > Well, luckily Nicolas got me thinking straight again: http://article.gmane.org/gmane.comp.version-control.git/38507 -- larsh