libgit2

git_revwalk_new

Version:

Allocate a new revision walker to iterate through a repo.

Signature

int git_revwalk_new(git_revwalk **walker, git_repository *repo);

Parameters

In
walker

pointer to the new revision walker

In
repo

the repo to walk through

Returns

int

0 on success; error code otherwise

Versions