Re: [PATCH] Add new @ shortcut for HEAD
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 30, 2013, 18:04 UTC
- Message-ID
- <CALkWK0kXSugXTKWy7_6WT_3UnwVhzyCJNR=QS-4K6vWrU61m4w@mail.gmail.com>
- In-Reply-To
- <7v1u9rewc1.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> How else would you explain why "rev-parse --symbolic-full-name @" > does not make sense
It does make sense. (Try it with my patch) [*1*]
> and "update-ref @" does not update HEAD?
Why should update-ref update HEAD? I'm asking it to update the symbolic-ref override .git/@.
[Footnote]
*1* I made a mistake in the commit message when I said that git symbolic-ref @ HEAD had the exact same effect.