git_revwalk_next

Get the next commit from the revision walk.

The initial call to this method is *not* blocking when iterating through a repo with a time-sorting mode.

Iterating with Topological or inverted modes makes the initial call blocking to preprocess the commit list, but this block should be mostly unnoticeable on most repositories (topological preprocessing times at 0.3s on the git.git repo).

The revision walker is reset when the walk is over.

@param out_ Pointer where to store the oid of the next commit @param walk the walker to pop the commit from. @return 0 if the next commit was found; git_error_code.GIT_ITEROVER if there are no commits left to iterate

extern (C) nothrow @nogc
int
git_revwalk_next

Meta