Re: [ANNOUNCE] New script that finds partially-backported patchsets

From: Konstantin Ryabitsev
Date: Mon May 01 2023 - 11:36:49 EST


On Sat, Apr 29, 2023 at 11:49:48PM -0700, Eric Biggers wrote:
> - `find-orig-patch`: Finds the original patch email from a git commit.
> It first checks for a matching "Message-Id:" or "Link:" from the git commit.
> If that fails, it falls back to a search of https://lore.kernel.org by
> commit title and uses some heuristics to try to find the right patch email.

You should also try matching by patch-id. E.g., taking the commit from the
example:

$ git show de534c1cb031 | git patch-id --stable
7d23fb78b4bb892155827a612631168cb28584cc de534c1cb0313a070f45938a53b53927cd34e5b9

Then we can search by patchid:7d23fb78b4bb892155827a612631168cb28584cc:

https://lore.kernel.org/all/?q=patchid%3A7d23fb78b4bb892155827a612631168cb28584cc

-K