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

Re: How to find commits unique to a branch

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 22, 2016, 18:20 UTC
Message-ID
<xmqqh9clm6fl.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<87mvmdgowj.fsf@thinkpad.rath.org>
Nikolaus Rath <Nikolaus@rath.org> writes:
Show 12 quoted lines
> On Jun 21 2016, Junio C Hamano <gitster@pobox.com> wrote:
>>
>> I find that the first sentence of the description is fuzzy
>> ("Determine whether" would imply that you would get "Yes/No" but
>> what we want is "here are the commits that do not have counterpart
>> in 2fix"),...
>
> This works, thanks! I don't quite understand why though. I started by
> saying that I want to know which commits in master are have been cherry
> picked after 3start was branched to 2fix, so <limit>..<head> must be
> 3start..2fix, which only leaves "master" as <upstream>.  What's wrong
> with that thought?

The only thing that is wrong in that is it does not match what happens, but that is not the fault of the "thought"; as I said, I think the description is fuzzy and has room for improvement to avoid being read in such a way that leads to a wrong conclusion.

Previous: Nikolaus Rath
Message 9 of 9 in “How to find commits unique to a branch”
  1. Nikolaus RathJun 20, 2016
  2. Junio C HamanoJun 20, 2016
  3. Nikolaus RathJun 20, 2016
  4. Michael J GruberJun 21, 2016
  5. Nikolaus RathJun 22, 2016
  6. Nikolaus RathJun 21, 2016
  7. Junio C HamanoJun 21, 2016
  8. Nikolaus RathJun 22, 2016
  9. Junio C HamanoJun 22, 2016

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.