libgit2

git_commit_create_v

Version:

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

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_v(git_oid *oid, git_repository *repo, const char *update_ref, const git_signature *author, const git_signature *committer, const char *message_encoding, const char *message, const git_tree *tree, int parent_count);

Parameters

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

Returns

int

Versions