libgit2

git_revwalk_add_hide_cb

Version:

Adds, changes or removes a callback function to hide a commit and its parents

Signature

int git_revwalk_add_hide_cb(git_revwalk *walk, git_revwalk_hide_cb hide_cb, void *payload);

Parameters

In
walk

the revision walker

In
hide_cb

callback function to hide a commit and its parents

void *
In
payload

data payload to be passed to callback function

Returns

int

0 or an error code.

Versions