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

Re: Find commit that referenced a blob first

From
Stefan Beller <sbeller@google.com>
Date
Jul 19, 2018, 22:45 UTC
Message-ID
<CAGZ79kYAQwfHZBSVG6ShVO6FCBKVu3CeKJ7ZLsRGVkfV73WmYA@mail.gmail.com>
In-Reply-To
<xmqqr2jydf6c.fsf@gitster-ct.c.googlers.com>
On Thu, Jul 19, 2018 at 3:38 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> > If the given object refers to a blob, it will be described as
> > <commit-ish>:<path>,
> > such that the blob can be found at <path> in the <commit-ish>, which itself
> > describes the first commit in which this blob occurs in a reverse
> > revision walk from HEAD.
>
> You walk from the latest to earlier commit (because there by
> definition can be is no reverse pointer from older to newer commit),

but a "reverse walk from HEAD" produces the commits to us in an order as if we were walking from earlier to latest?

Previous: Junio C Hamano
Message 6 of 6 in “Find commit that referenced a blob first”
  1. Lars SchneiderJul 19, 2018
  2. Stefan BellerJul 19, 2018
  3. Lars SchneiderJul 19, 2018
  4. Jeff KingJul 19, 2018
  5. Junio C HamanoJul 19, 2018
  6. Stefan BellerJul 19, 2018

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.