libgit2_d.sys.commit

Undocumented in source.

Members

Aliases

git_commit_parent_callback
alias git_commit_parent_callback = const(libgit2_d.oid.git_oid)* function(size_t idx, void* payload)

Callback function to return parents for commit.

Functions

git_commit_create_from_callback
int git_commit_create_from_callback(libgit2_d.oid.git_oid* id, libgit2_d.types.git_repository* repo, const(char)* update_ref, const(libgit2_d.types.git_signature)* author, const(libgit2_d.types.git_signature)* committer, const(char)* message_encoding, const(char)* message, const(libgit2_d.oid.git_oid)* tree, .git_commit_parent_callback parent_cb, void* parent_payload)

Create a new commit in the repository with an callback to supply parents.

git_commit_create_from_ids
int git_commit_create_from_ids(libgit2_d.oid.git_oid* id, libgit2_d.types.git_repository* repo, const(char)* update_ref, const(libgit2_d.types.git_signature)* author, const(libgit2_d.types.git_signature)* committer, const(char)* message_encoding, const(char)* message, const(libgit2_d.oid.git_oid)* tree, size_t parent_count, const(libgit2_d.oid.git_oid)** parents)

Create new commit in the repository from a list of git_oid values.

Meta