With the following git history:
f---g---h--- feature
/ \
c---e---i---j---k---l--- release
/ \
-a--b---d---m---n---o---p---q---[hundreds of commits]--- master
I have the SHA of commit g
. Neither feature, nor release are available any longer and I need to find commit q
, IE where the release branch was merged into master. With the answers in a different question (Find merge commit which include a specific commit) I can only find commit k, where the feature branch was merged into the release branch. How do I go about this?