From: Mark Wooding Date: Sat, 03 Feb 2007 17:07:14 GMT Subject: Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as current branch reflog Message-ID: In-Reply-To: <200702021611.06029.andyparkins@gmail.com> Andy Parkins wrote: > to do. Asking for HEAD's reflog should be the same as asking for the > pointed-to-branch's reflog. And what do you do when HEAD is detached? I mean: I detach HEAD, and then ask about HEAD@{yesterday}. It'd be nonsensical for that to be an error, since HEAD surely did have a value yesterday. But it can't tell me where my current branch head was yesterday, because there isn't a current branch to tell me about. HEAD@{date} referring to the HEAD reflog is the only sane thing to do. -- [mdw]