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.