git_packbuilder_insert_commit

Insert a commit object

This will add a commit as well as the completed referenced tree.

extern (C) nothrow @nogc
int
git_packbuilder_insert_commit

Parameters

pb libgit2_d.types.git_packbuilder*

The packbuilder

id const(libgit2_d.oid.git_oid)*

The oid of the commit

Return Value

Type: int

0 or an error code

Meta