libgit2

revwalk

Version:
Traverse (walk) the commit graph (revision history)

Objects

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

Enums

Flags to specify the sorting which a revwalk should perform

Callbacks

This is a callback function that user can provide to hide a commit and its parents then this commit and its parents will be hidden.

Functions

Allocate a new revision walker to iterate through a repo

Reset the revision walker for reuse

Add a new root for the traversal

Push matching references

Push the repository's HEAD

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

Hide matching references

Hide the repository's HEAD

Push the OID pointed to by a reference

Hide the OID pointed to by a reference

Get the next commit from the revision walk

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

Push and hide the respective endpoints of the given range

Simplify the history by first-parent

Free a revision walker previously allocated

Return the repository on which this walker is operating

Adds, changes or removes a callback function to hide a commit and its parents