Re: [PATCH] refs.c: interpret @ as HEAD
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 30, 2013, 17:07 UTC
- Message-ID
- <CALkWK0mK9uW-Z7YfUY_Ms1WO9vkEKRV31H5dqAOFgb_7SrDG+w@mail.gmail.com>
- In-Reply-To
- <7vehdsf19m.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> We need to see if we can make the explanation we will give > to end users is understandable.
I'll make an attempt.
@ can be used in two contexts:
1. When used without the {}, it means HEAD.
2. When used with a {}, it means what those three forms individually
mean. @{} already implies HEAD: don't put an extra @.I think it's the cleanest.