Find the child of a commit (starting with the current submodule state), and, if the commit was a merge, the mainline index of said commit for the child.
See Implementation
Find the child of a commit (starting with the current submodule state), and, if the commit was a merge, the mainline index of said commit for the child.