libgit2

git_repository_fetchhead_foreach_cb

Version:

Callback used to iterate over each FETCH_HEAD entry

See

Signature

typedef int git_repository_fetchhead_foreach_cb(const char *ref_name, const char *remote_url, const git_oid *oid, unsigned int is_merge, void *payload);

Parameters

const char *
In
ref_name

The reference name

const char *
In
remote_url

The remote URL

In
oid

The reference target OID

unsigned int
In
is_merge

Was the reference the result of a merge

void *
In
payload

Payload passed to git_repository_fetchhead_foreach

Returns

int

non-zero to terminate the iteration

Parameter To

Versions