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

Re: RFC: indicating diff strategy in format-patch message headers

From
EWEric Wong <e@80x24.org>
Date
Jun 16, 2024, 23:47 UTC
Message-ID
<20240616234741.M713118@dcvr>
In-Reply-To
<20240607-ultra-unicorn-of-democracy-d25a69@lemur>
Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
Show 12 quoted lines
> On Wed, Jun 05, 2024 at 10:26:58PM GMT, Eric Wong wrote:
> > > That would be redundant with the message-id. Unfortunately, this doesn't solve
> > > the problem of how to reliably map a commit to the patch from which it
> > > originated, other than using the Message-ID: or Link: trailers.
> > 
> > dfpre:, dfblob:, dfpost: search queries on lore seem to work...
> 
> I've thought about that, but this is also not very reliable, at least not when
> patch series are applied as fast-forwards, not merges. Unfortunately, some
> projects enforce a flat history (glibc, gcc), with merges being specifically
> not allowed -- which means dfblob matching is not going to match a lot of
> commits.

Yeha, my initial plan (way back around 2016 or 2017) was to use Subject; but I also forgot why I stopped with that idea :x

Anyways, trying to add bs: (body+subject) to queries in addition to dfblob may prove useful:

https://public-inbox.org/meta/20240616233532.574646-1-e@80x24.org/
Not sure if author + date is necessary...
Previous: Konstantin Ryabitsev
Message 6 of 6 in “RFC: indicating diff strategy in format-patch message headers”
  1. Konstantin RyabitsevJun 5, 2024
  2. Junio C HamanoJun 5, 2024
  3. Konstantin RyabitsevJun 5, 2024
  4. Eric WongJun 5, 2024
  5. Konstantin RyabitsevJun 7, 2024
  6. Eric WongJun 16, 2024

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.