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

determine if one commit is an ancestor of another

From
Larry D'Anna <larry@elder-gods.org>
Date
Jul 9, 2009, 17:13 UTC
Message-ID
<20090709171351.GA30088@cthulhu>

Is there any builtin to do this? I'm doing it in a perl script now by parsing git log --pretty=raw, but it's pretty slow for a big repository.

    --larry
Next: Johannes Schindelin
Message 1 of 2 in “determine if one commit is an ancestor of another”
  1. Larry D'AnnaJul 9, 2009
  2. Johannes SchindelinJul 9, 2009

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.