From: Andy Parkins Date: Fri, 02 Feb 2007 13:08:46 GMT Subject: Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as current branch reflog Message-ID: <200702021308.48599.andyparkins@gmail.com> In-Reply-To: On Thursday 2007 February 01 17:33, Nicolas Pitre wrote: > The work in progress to enable separate reflog for HEAD will make it > independent from reflog of any branch HEAD might be pointing to. In > the mean time disallow HEAD@{...} until that work is completed. Otherwise > people might get used to the current behavior which makes HEAD@{...} an > alias for @{...} which won't be the case later. I hadn't really appreciated the implications of all this HEAD reflog stuff until now. Please, please, HEAD@{} should /always/ be an alias for @{}. There is one special case: when head is detached, would then be the "unnamed branch" for reflog purposes; personally I'd like that stored in .git/logs/DETACHED_HEAD or similar - in particular not in .git/logs/HEAD. Andy -- Dr Andy Parkins, M Eng (hons), MIEE andyparkins@gmail.com