git_rebase_commit

Commits the current patch. You must have resolved any conflicts that were introduced during the patch application from the git_rebase_next invocation.

Parameters

id libgit2_d.oid.git_oid*

Pointer in which to store the OID of the newly created commit

rebase libgit2_d.types.git_rebase*

The rebase that is in-progress

author const(libgit2_d.types.git_signature)*

The author of the updated commit, or null to keep the author from the original commit

committer const(libgit2_d.types.git_signature)*

The committer of the rebase

message_encoding const(char)*

The encoding for the message in the commit, represented with a standard encoding name. If message is null, this should also be null, and the encoding from the original commit will be maintained. If message is specified, this may be null to indicate that "UTF-8" is to be used.

message const(char)*

The message for this commit, or null to use the message from the original commit.

Return Value

Type: int

Zero on success, git_error_code.GIT_EUNMERGED if there are unmerged changes in the index, git_error_code.GIT_EAPPLIED if the current commit has already been applied to the upstream and there is nothing to commit, -1 on failure.

Meta