libgit2

git_commit_create_ov

Version:

Create a new commit in the repository using git_object instances and a variable argument list.

The tree_oid paremeter now takes a instance of const git_tree *.

The parents for the commit are specified as a variable list of pointers to const git_commit *. Note that this is a convenience method which may not be safe to export for certain languages or compilers

All other parameters remain the same

See

Signature

int git_commit_create_ov(git_oid *oid, git_repository *repo, const char *update_ref, const git_signature *author, const git_signature *committer, const char *message, const git_tree *tree, int parent_count);

Parameters

In
oid
const char *
In
update_ref
In
committer
const char *
In
message
int
In
parent_count

Returns

int

Versions