libgit2

git_revwalk_push

Version:

Mark a commit to start traversal from. The commit object must belong to the repo which is being walked through.

Signature

int git_revwalk_push(git_revwalk *walk, git_commit *commit);

Parameters

In
walk
In
commit

the commit to start from.

Returns

int

Versions