Get the oid of a specified parent for a commit. This is different from git_commit_parent, which will attempt to load the parent commit from the ODB.
a previously loaded commit.
the position of the parent (from 0 to parentcount)
the id of the parent, null on error.
See Implementation
Get the oid of a specified parent for a commit. This is different from git_commit_parent, which will attempt to load the parent commit from the ODB.