Method

GgitRevisionWalkerpush

Declaration [src]

void
ggit_revision_walker_push (
  GgitRevisionWalker* walker,
  GgitOId* oid,
  GError** error
)

Description [src]

Marks a commit to start traversal from.

The given OID must belong to a commit on the walked repository.

The given commit will be used as one of the roots when starting the revision walk. At least one commit must be pushed the repository before a walk can be started.

Parameters

oid GgitOId
 

A GgitOId.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.