Git Commit Hash – How to Find Kernel Release Containing It

gitlinuxlinux-kernelsource

Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know the exact git commit hash, e.g. f3a1ef9cee4812e2d08c855eb373f0d83433e34c.

What is the easiest way to answer the question: What kernel releases so far contain this patch? Bonus points if no local Linux git repository is needed.

(LWM discusses some ideas, but these do require a local repository.)

Best Answer

In GitHub kernel repository, you can check all tags/kernel versions.

Example for dc0827c128c0ee5a58b822b99d662b59f4b8e970 provided by Jim Paris:

Commit dc0827c@GitHub

If three-dots are clicked, full list of tags/kernel versions can be seen.