Re: [PATCH v2 5/6] Add new @ shortcut for HEAD

2013-05-02 Thread Junio C Hamano
Duy Nguyen writes: > On Wed, May 1, 2013 at 4:49 AM, Felipe Contreras > wrote: >> So HEAD@{0}~0^0 is too much to type, but we can remove '^0', and we can >> remove '~0', and we can remove 'HEAD', which leaves us with @{0}, but we >> can't remove '{0}'? >> >> This patch allows '@' to be the same

Re: [PATCH v2 5/6] Add new @ shortcut for HEAD

2013-05-01 Thread Felipe Contreras
On Tue, Apr 30, 2013 at 9:03 PM, Duy Nguyen wrote: > On Wed, May 1, 2013 at 4:49 AM, Felipe Contreras > wrote: >> So HEAD@{0}~0^0 is too much to type, but we can remove '^0', and we can >> remove '~0', and we can remove 'HEAD', which leaves us with @{0}, but we >> can't remove '{0}'? >> >> This p

Re: [PATCH v2 5/6] Add new @ shortcut for HEAD

2013-04-30 Thread Duy Nguyen
On Wed, May 1, 2013 at 4:49 AM, Felipe Contreras wrote: > So HEAD@{0}~0^0 is too much to type, but we can remove '^0', and we can > remove '~0', and we can remove 'HEAD', which leaves us with @{0}, but we > can't remove '{0}'? > > This patch allows '@' to be the same as 'HEAD'. > > So now we can u

Re: [PATCH v2 5/6] Add new @ shortcut for HEAD

2013-04-30 Thread Junio C Hamano
Felipe Contreras writes: > So HEAD@{0}~0^0 is too much to type, but we can remove '^0', and we can > remove '~0', and we can remove 'HEAD', which leaves us with @{0}, but we > can't remove '{0}'? > > This patch allows '@' to be the same as 'HEAD'. > > So now we can use 'git show @~1', and all tha

[PATCH v2 5/6] Add new @ shortcut for HEAD

2013-04-30 Thread Felipe Contreras
So HEAD@{0}~0^0 is too much to type, but we can remove '^0', and we can remove '~0', and we can remove 'HEAD', which leaves us with @{0}, but we can't remove '{0}'? This patch allows '@' to be the same as 'HEAD'. So now we can use 'git show @~1', and all that goody goodness. Until now '@' was a