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

Re: Command to list commits that point to a given tree.

From
Junio C Hamano <junkio@cox.net>
Date
May 8, 2006, 20:34 UTC
Message-ID
<7vvesgfe7j.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060508163437.GA17390@hpsvcnb.fc.hp.com>
Carl Baldwin <cnb@fc.hp.com> writes:
Show 5 quoted lines
> ... In particular, I am
> looking for a command that will return a list of commits that point to a
> particular tree.
>
> Right now I plan to brute force it.

You might want to explain what problem you are trying to solve, by knowing which commit contains a particular tree object. There might be a solution to that unstated problem which does not require the reverse lookup.

Previous: Carl Baldwin
Message 2 of 2 in “Command to list commits that point to a given tree.”
  1. Carl BaldwinMay 8, 2006
  2. Junio C HamanoMay 8, 2006

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.