Re: [PATCH] refs.c: interpret @ as HEAD
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 30, 2013, 18:22 UTC
- Message-ID
- <CALkWK0kcuaXTKbafmC72C3H+UZN6oeEY140T21LJUHveO=UBvA@mail.gmail.com>
- In-Reply-To
- <7vwqrjdh6v.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> @{-1}@{0} does. That means @{0} is a revision and not a ref, but @{-1}
> is.Right. I missed that.
> '"@" given alone' has to be a ref if we want @@{5.minutes.ago} to
> resolve.Yeah, I just realized that it's a bug in the @{u} implementation. @@{5.minutes.ago} and @@{1} work perfectly fine on git.git master. Therefore, @@{5.minutes.ago} should work with my implementation too. Yes, it's just the default value of .git/@.