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

Re: Question: How to find the commits in the ancestry path of seen down to _and_ including a given topic?

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 21, 2022, 15:37 UTC
Message-ID
<xmqqy1wmlbnn.fsf@gitster.g>
In-Reply-To
<CABPp-BEK+SJh2uF=rrM-f1u9diMQJ7D3H0fJLdzWpyOww=ys+w@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
> A simple question that I'm spinning out of [1]: How can I get `git
> log` to show the commits in the ancestry path from seen, back to *and
> including* a given topic (but not commits from unrelated topics)?
Drawing of a sample history, please.

I feel stupid asking this, but I do not think I even understand what the question is X-<.

Commits that are ancestors of 'seen' and are descendants of the tip of the topic?

Previous: Elijah NewrenNext: Derrick Stolee
Message 2 of 6 in “Question: How to find the commits in the ancestry path of seen down to _and_ including a given topic?”
  1. Elijah NewrenJul 21, 2022
  2. Junio C HamanoJul 21, 2022
  3. Derrick StoleeJul 21, 2022
  4. Elijah NewrenJul 21, 2022
  5. Derrick StoleeJul 22, 2022
  6. Elijah NewrenJul 22, 2022

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.