From: Felipe Contreras Date: Tue, 30 Apr 2013 22:53:50 GMT Subject: Re: [PATCH] Add new @ shortcut for HEAD Message-ID: In-Reply-To: <7vbo8vabet.fsf@alter.siamese.dyndns.org> On Tue, Apr 30, 2013 at 5:42 PM, Junio C Hamano wrote: > Felipe Contreras writes: > >> Since 'update-ref master' updates the 'master' ref, and not >> 'refs/heads/master' (IOW; no parsing at all), I think it makes sense >> that @{-1} is not parsed, and neither is @. > > That is a very valid point. > > What should "rev-parse --symbolic-full-name @" say? Probably the same as 'rev-parse --symbolic-full-name HEAD' (it doesn't with my patch). -- Felipe Contreras