Re: [PATCH] Add new @ shortcut for HEAD
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 30, 2013, 22:42 UTC
- Message-ID
- <7vbo8vabet.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAMP44s3=frHWUh8rQ5kTooUJqwAtkEG37MaeY3Ho6G7-kwZQ_w@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> 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?