lets say I have the following graph
master A------D
\
feature B--C----E
If D is a squash-merge of feature at commit C, but then a new commit (E) is pushed to feature, there is no obvious link between commit D and the exact commit that was merged into master.
My question is whether it is possible to retrieve this link. Is there a git command that can be run that will, for a squash-merge, return the commit hash of the exact commit that was squashed in?
NOTE: The commit message was changed in my repo, so the fact that by default git will record the commit hashes that are squashed in the message is not useful