libgit2

git_revwalk_next

Version:

Get the next commit from the revision traversal.

Signature

git_commit *git_revwalk_next(git_revwalk *walk);

Parameters

git_revwalk *
In
walk

the walker to pop the commit from.

Returns

git_commit *

next commit; NULL if there is no more output.

Versions