Re: [PATCH] Add new @ shortcut for HEAD
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 30, 2013, 17:40 UTC
- Message-ID
- <CALkWK0=GbhALxX0G-ka5oAbixoJv4uKPHAx5LPezgTyGxW_3MQ@mail.gmail.com>
- In-Reply-To
- <7vppxcdjd1.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 5 quoted lines
> If you accept only "@" but not "master@", that behaviour needs a
> wrong world model to understand and justify (one of which is "@ is a
> synonym for HEAD"). If your rule is "In $anything@{$n}, you can
> drop {$n} when $n==0", then HEAD@{0} becomes HEAD@ and master@{0}
> becomes master@, and @{0} becomes @ naturally.Besides, you're going in the wrong direction this time. You are trying to fit an explanation to something that is useless. How is master@ useful?