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.
@param commit a previously loaded commit. @param n the position of the parent (from 0 to parentcount) @return 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.
@param commit a previously loaded commit. @param n the position of the parent (from 0 to parentcount) @return the id of the parent, null on error.