git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] Add new @ shortcut for HEAD

From
Eric Sunshine <sunshine@sunshineco.com>
Date
May 1, 2013, 10:12 UTC
Message-ID
<CAPig+cSQeU8BaaPm7GfCUxtsVj1Ce31ygBLdkb5WN8o4aNMAow@mail.gmail.com>
In-Reply-To
<1367401888-21055-1-git-send-email-felipe.contreras@gmail.com>

On Wed, May 1, 2013 at 5:51 AM, Felipe Contreras <felipe.contreras@gmail.com> wrote:

Show 9 quoted lines
> 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")
> make it invalid. Probably very few people, if any, used this name.
>
> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Previous: Felipe ContrerasNext: Thomas Adam
Message 2 of 14 in “Add new @ shortcut for HEAD”
  1. Add new @ shortcut for HEADFelipe Contreras, May 1, 2013
  2. Eric SunshineMay 1, 2013
  3. Thomas AdamMay 1, 2013
  4. "lets" vs. "let's" (was: Re: [PATCH v3] Add new @ shortcut for HEAD)Marc Branchaud, May 1, 2013
  5. Junio C HamanoMay 1, 2013
  6. Junio C HamanoMay 1, 2013
  7. Felipe ContrerasMay 1, 2013
  8. Junio C HamanoMay 1, 2013
  9. Felipe ContrerasMay 1, 2013
  10. Junio C HamanoMay 1, 2013
  11. Felipe ContrerasMay 1, 2013
  12. Felipe ContrerasMay 2, 2013
  13. Junio C HamanoMay 6, 2013
  14. Junio C HamanoMay 1, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.