Re: [PATCH v3] Add new @ shortcut for HEAD
- From
Thomas Adam <thomas@xteddy.org>
- Date
- May 1, 2013, 10:31 UTC
- Message-ID
- <CA+39Oz7gib+dpW1CNEHtD2M6JcOF1QuxpeOWLcyTxdVPGnS5+A@mail.gmail.com>
- In-Reply-To
- <CAPig+cSQeU8BaaPm7GfCUxtsVj1Ce31ygBLdkb5WN8o4aNMAow@mail.gmail.com>
On 1 May 2013 11:12, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 13 quoted lines
> On Wed, May 1, 2013 at 5:51 AM, Felipe Contreras
> <felipe.contreras@gmail.com> 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 use 'git show @~1', and all that goody goodness.
>>
>> Until now '@' was a valid name, but it conflicts with this idea, so lets
>
> s/lets/let's/ (contraction of "let us")Ah, the contraction versus the first person singular. In this case where the context is concluding in decision, rather than making a statement ("Let's go to the shops", for example) then "lets" is the correct word to use here.
-- Thomas Adam