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

Re: [PATCH v4] remote: qualify "git pull" advice for non-upstream compareBranches

From
Harald Nordgren <haraldnordgren@gmail.com>
Date
Jun 10, 2026, 17:35 UTC
Message-ID
<CAHwyqnXei114KYmbEOvMEYSkbrw0VHgrZJv52Y3qAhJ+Yq18_w@mail.gmail.com>
In-Reply-To
<xmqq7bo6xuok.fsf@gitster.g>
Show 12 quoted lines
> >     remote: qualify "git pull" advice for non-upstream branches
> >
> >      * Don't suggest git pull when we have no good command to suggest.
> >      * New test for this. Asserts the behind line shows with no follow-up
> >        advice.
>
> Very well written.
>
> What does not happen in the "punt" case (the first bullet point
> above) may deserve to be given in the commit log message, but
> otherwise it is very clear what the change wanted to do to the
> future readers of "git log".

Thanks. It's a good point, but maybe it's implicit that nothing happens when nothing can happen?

> Shall we mark it for 'next' now?
>
> Thanks for working on this.
Yes please, thanks for all the help!
Harald
Previous: Junio C Hamano
Message 9 of 9 in “remote: qualify "git pull" advice for non-upstream branches”
  1. remote: qualify "git pull" advice for non-upstream branchesHarald Nordgren via GitGitGadget, May 12, 2026
  2. remote: qualify "git pull" advice for non-upstream branchesHarald Nordgren via GitGitGadget, May 13, 2026
  3. Junio C HamanoMay 19, 2026
  4. Harald NordgrenMay 20, 2026
  5. remote: qualify "git pull" advice for non-upstream compareBranchesHarald Nordgren via GitGitGadget, May 20, 2026
  6. Junio C HamanoMay 21, 2026
  7. remote: qualify "git pull" advice for non-upstream compareBranchesHarald Nordgren via GitGitGadget, May 21, 2026
  8. Junio C HamanoJun 10, 2026
  9. Harald NordgrenJun 10, 2026

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.