int git_merge_head_from_fetchhead(git_merge_head **out, git_repository *repo, const char *branch_name, const char *remote_url, const git_oid *oid);
In
out
pointer to store the git_merge_head result in
In
repo
repository that contains the given commit
const char *
In
branch_name
name of the (remote) branch
const char *
In
remote_url
In
oid
the commit object id to use as a merge input
int
0 on success or error code