Reverts the given commit against the given "our" commit, producing an index that reflects the result of the revert.
The returned index must be freed explicitly with git_index_free
.
the parent of the revert commit, if it is a merge
zero on success, -1 on failure.