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

Re: [PATCH] refspec: make @ a valid refspec

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Dec 4, 2020, 22:20 UTC
Message-ID
<CAMP44s33jhx+5m_LmaVi58n0roJH-ZD9z0nU6M5d6_Kd+i=5Dw@mail.gmail.com>
In-Reply-To
<CAMP44s3f_cO61YVjvwsiswKQRESznOFn7KTshgv06a=zVRPLug@mail.gmail.com>
Hello,

On Tue, Nov 24, 2020 at 6:09 PM Felipe Contreras <felipe.contreras@gmail.com> wrote:

> On Tue, Nov 24, 2020 at 4:45 PM Junio C Hamano <gitster@pobox.com> wrote:
> > Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 6 quoted lines
> > > Beauty is in the eye of the beholder.
> >
> > Using "@" is rather "illogical" than "ugly", and at that point it is
> > not so subjective.
>
> I disagree.

This is not an attempt to reignite the discussion, but just something that might be of interest.

I created a poll [1] in reddit's r/git: Do you know @ is a shortcut for HEAD?

403 people gave a useful response. Of those; 74% didn't know such a shortcut existed, 80% liked this shortcut.

But more importantly: 59% did like the shortcut, but didn't know it existed. That is: of the people that liked the shortcut; 74% didn't know it existed.

This tells us something: putting personal preferences aside; the Git project doesn't seem to be doing a great job of advertising its features. Features a good chunk--if not the overwhelming majority--of users might like.

Other things of interest in the comments: one user didn't even know what HEAD was, another used "head" (lowercase) (macOS user), and lastly; the second most voted comment did take a shot at Git's known unintuitiveness.

That's it. Just putting it here.
Cheers.
[1] https://www.reddit.com/r/git/comments/k15cqm/do_you_know_is_a_shortcut_for_head/
-- 
Felipe Contreras
Previous: Felipe Contreras
Message 13 of 13 in “refspec: make @ a valid refspec”
  1. refspec: make @ a valid refspecFelipe Contreras, Nov 22, 2020
  2. Jeff KingNov 24, 2020
  3. Junio C HamanoNov 24, 2020
  4. Felipe ContrerasNov 24, 2020
  5. Junio C HamanoNov 24, 2020
  6. Jacob KellerNov 24, 2020
  7. Junio C HamanoNov 24, 2020
  8. Jacob KellerNov 24, 2020
  9. Felipe ContrerasNov 25, 2020
  10. Junio C HamanoNov 25, 2020
  11. Felipe ContrerasNov 25, 2020
  12. Felipe ContrerasNov 25, 2020
  13. Felipe ContrerasDec 4, 2020

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.