From: Junio C Hamano Date: Tue, 30 Apr 2013 22:42:02 GMT Subject: Re: [PATCH] Add new @ shortcut for HEAD Message-ID: <7vbo8vabet.fsf@alter.siamese.dyndns.org> In-Reply-To: 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?