git_revwalk_push

Add a new root for the traversal

The pushed commit will be marked as one of the roots from which to start the walk. This commit may not be walked if it or a child is hidden.

At least one commit must be pushed onto the walker before a walk can be started.

The given id must belong to a committish on the walked repository.

@param walk the walker being used for the traversal. @param id the oid of the commit to start from. @return 0 or an error code

extern (C) nothrow @nogc
int
git_revwalk_push

Meta