Re: [PATCH] Add new @ shortcut for HEAD
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 30, 2013, 00:53 UTC
- Message-ID
- <20130430005304.GG24467@google.com>
- In-Reply-To
- <7vsj29eysv.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 6 quoted lines
>> Never-mind, now I see the difference, still, I don't think it's
>> relevant for this patch.
>
> I don't either. With the precedence of @{u}, @ does not need to have
> anything to do with a reflog. It is just a random letter that casts
> a magic spell.I thought the convention was "^{...} is for operators that act on objects, @{...} for operators that act on refs or symrefs".
Which works fine here.