git_revwalk_reset

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.

extern (C) nothrow @nogc
int
git_revwalk_reset

Parameters

walker libgit2_d.types.git_revwalk*

handle to reset.

Return Value

Type: int

0 or an error code

Meta