libgit2

git_packbuilder_insert_walk

Version:

Insert objects as given by the walk

Those commits and all objects they reference will be inserted into the packbuilder.

Signature

int git_packbuilder_insert_walk(git_packbuilder *pb, git_revwalk *walk);

Parameters

In
pb

the packbuilder

In
walk

the revwalk to use to fill the packbuilder

Returns

int

0 or an error code

Versions