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