libgit2

git_revwalk_hide_ref

Version:

Hide the OID pointed to by a reference

The reference must point to a commit.

Signature

int git_revwalk_hide_ref(git_revwalk *walk, const char *refname);

Parameters

In
walk

the walker being used for the traversal

const char *
In
refname

the reference to hide

Returns

int

0 or an error code

Versions