libgit2

git_revwalk_reset

Version:

Reset the revision walker for reuse.

This will clear all the pushed and hidden commits, and leave the walker in a blank state (just like at creation) ready to receive new commit pushes and start a new walk.

The revision walk is automatically reset when a walk is over.

Signature

void git_revwalk_reset(git_revwalk *walker);

Parameters

In
walker

handle to reset.

Versions