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

Re: How log log a feaure request

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 9, 2020, 04:44 UTC
Message-ID
<xmqq1rs91bo2.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<l0W9VY7TaoqT51RecilbNNTaX35RiCNlJtZKcz04cyKexuG06-bZMlwfor5kCvnIHRRWE7s8TSJLwvA-w4-1poMV_gle8iOzd3-wzFVDUh0=@pm.me>
Tymek Majewski <tmaj@pm.me> writes:
Show 6 quoted lines
> Hello gurus!
>
> I looked at https://git-scm.com/community but I failed to find a
> place to send feature requests to.
>
> Q: How to submit a feature request (rather than a bug)?
Sending it here, which you did, is how ;-)
Show 7 quoted lines
> Reasoning:
>
> I believe that if the git checkout message
> "Your branch is up to date with 'origin/branch_name_here'"
> was
> "Your branch is up to date with the *local* branch 'origin/branch_name_here'"
> it would make it clearer to new users what is happening.

I would be sympathetic to the above, if you did not say "local" and instead say "remote-tracking". A local branch is what you can check out and grow its history by making a commit while it is checked out. Those refs that are updated when you fetch and/or pull from the remote repository in order to keep track of the branches they have are called remote-tracking branches.

Because this message is something people see every day when they run "git checkout", I am not sure if the extra explanation is warranted or merely annoying, as "origin/branch" notation is used sufficiently often for the users to grow accustomed to seeing it and knowing what it is, and after all no user will stay to be a newbie forever.

Another reason why I am somewhat hesitant to endorse the rephrasing is because the name of a remote-tracking branch in the real life tends to be longer than just 'origin/master'. We must keep the message that comes before the name of the remote-tracking branch short in order to make it easier to read the message for the users.

So... I dunno.
Previous: Tymek MajewskiNext: Philip Oakley
Message 2 of 3 in “How log log a feaure request”
  1. Tymek MajewskiJan 9, 2020
  2. Junio C HamanoJan 9, 2020
  3. Philip OakleyMar 28, 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.