Re: [PATCH] Add new @ shortcut for HEAD
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 30, 2013, 20:05 UTC
- Message-ID
- <7v4nendbry.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CALkWK0kUOEygRE8uMJbW=fOV6iGPAap+mbS7mysTHT3Ri+9eGg@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> In other words: the sequence "@" is short for "HEAD".
That is saying a very different thing. master@{4.days} is not short for masterHEAD{4.days}.
> Isn't that > _exactly_ what I implemented in my two-liner?
I dunno.
As design and semantics look still fuzzy (the primary one I am not sure about is if @ is a ref or just a revision), even though the desire to have _something_ seem to be popular, I am not particulary interested in looking at an alternative patch. I want to see the right semantics first.