libgit2

git_revwalk_hide_cb

Version:

This is a callback function that user can provide to hide a commit and its parents. If the callback function returns non-zero value, then this commit and its parents will be hidden.

Signature

typedef int git_revwalk_hide_cb(const git_oid *commit_id, void *payload);

Parameters

In
commit_id

oid of Commit

void *
In
payload

User-specified pointer to data to be passed as data payload

Returns

int

non-zero to hide the commmit and it parent.

Parameter To

Versions