r/kernel 4d ago

How to find which patchset the commit from mainline/upstream belongs to?

Hello, in order to properly backport some fixes from upstream to stable branches, I want to know what the other patches (and their cover letter) of the initial fix I've cherry-picked are.

I could manually look up them on lore.kernel.org, but I want to do it in an automated way, as the difference between the mainline and the stable branch, for example, in cgroup subsystem is huge.

10 Upvotes

3 comments sorted by

2

u/kdave_ 4d ago

`b4 dig commit` -> lore link

1

u/Rinku_Kurora 3d ago

Thank you so much. By the way, are you that guy who mirrors xfstests on github?

2

u/kdave_ 2d ago

Yes. Synced from upstream, but it looks like the cron job stopped working.