libgit2

revwalk

Version:
Git revision traversal routines

Objects

Representation of an in-progress walk through the commits in a repo

Macros

Sort the repository contents in no particular ordering; this sorting is arbitrary, implementation-specific and subject to change at any time

Sort the repository contents in topological order (parents before children); this sorting mode can be combined with time sorting

Sort the repository contents by commit time; this sorting mode can be combined with topological sorting

Iterate through the repository contents in reverse order; this sorting mode can be combined with any of the above

Functions

Allocate a new revision walker to iterate through a repo

Reset the revision walker for reuse

Mark a commit to start traversal from

Mark a commit (and its ancestors) uninteresting for the output

Get the next commit from the revision walk

Change the sorting mode when iterating through the repository's contents

Free a revision walker previously allocated

Return the repository on which this walker is operating