libgit2

git_revwalk_hide

Version:

Mark a commit (and its ancestors) uninteresting for the output.

The given OID must belong to a commit on the walked repository.

The resolved commit and all its parents will be hidden from the output on the revision walk.

Signature

int git_revwalk_hide(git_revwalk *walk, const git_oid *oid);

Parameters

Returns

int

0 on success; error code otherwise

Versions