libgit2

git_revwalk_next

Version:

Get the next commit from the revision traversal.

Signature

int git_revwalk_next(git_oid *oid, git_revwalk *walk);

Parameters

In
oid
In
walk

the walker to pop the commit from.

Returns

int

GIT_SUCCESS if the next commit was found; GIT_EREVWALKOVER if there are no commits left to iterate

Versions