How to find MR from commit

I use this script: https://raw.githubusercontent.com/mhagger/git-when-merged/master/bin/git-when-merged like this:

git when-merged -d b7621

Which gets the same information, but isn’t limited to only the last 10 commits in the merge commit message since it traverses the history (they get elided if there are too many).