From: Felipe Contreras Date: Tue, 30 Apr 2013 22:08:32 GMT Subject: Re: [PATCH] Add new @ shortcut for HEAD Message-ID: In-Reply-To: On Tue, Apr 30, 2013 at 1:45 PM, Ramkumar Ramachandra wrote: > Felipe Contreras wrote: >> It's not. The same way master^0^0~4 is not useful, yet it's works; >> it's a logical result from the syntax. > > It's logical if you explain @ as a shortcut for @{0}, and make > @{0}@{1} resolve somehow [*1*]. But @{-1}@{1} does resolve, and so does @{u}@{1}. So @ would be a shortcut of @{this ref}, a no-op on the ref. -- Felipe Contreras