Callback function to return parents for commit.
This is invoked with the count of the number of parents processed so far along with the user supplied payload. This should return a git_oid of the next parent or NULL if all parents have been provided.
the index of the parent
the user-specified payload
the object id of the parent, or NULL if there are no further parents