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

Re: Guess the base-commit of a series

From
EWEric Wong <e@yhbt.net>
Date
Apr 30, 2020, 17:33 UTC
Message-ID
<20200430173302.GA18877@dcvr>
In-Reply-To
<20200430172147.3fblnrvi73asnkp5@chatter.i7.local>
Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
Show 5 quoted lines
> Hello:
> 
> Given a/ b/ filenames and blob index information, is there a relatively 
> easy way to find the latest branch commit where a patch series would 
> apply cleanly (i.e. guess the base-commit)?
Not as far as I know...

Indexing git repos to store a reverse mapping of blobs => commits/trees/tags is something I've been planning as part of public-inbox (for the "solver" subcomponent which recreates blobs from patch mails, I want it to recreate trees).

I'm not sure if/when I'll get around to it; and it's space-intensive with Xapian, too.

Previous: Konstantin RyabitsevNext: Junio C Hamano
Message 2 of 4 in “Guess the base-commit of a series”
  1. Konstantin RyabitsevApr 30, 2020
  2. Eric WongApr 30, 2020
  3. Junio C HamanoApr 30, 2020
  4. Konstantin RyabitsevApr 30, 2020

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.