Create a new commit in the repository using git_object
instances as parameters.
The tree_oid
and parent_oids
paremeters now take a instance
of git_tree
and git_commit
, respectively.
All other parameters remain the same
int git_commit_create_o(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, const git_commit **parents);
const char *
In
update_ref