Find merge bases between two commits
array in which to store the resulting ids
the repository where the commits exist
one of the commits
the other commit
0 on success, GIT_ENOTFOUND if not found or error code