Commits the current patch. You must have resolved any conflicts that
were introduced during the patch application from the git_rebase_next
invocation.
@param id Pointer in which to store the OID of the newly created commit
@param rebase The rebase that is in-progress
@param author The author of the updated commit, or null to keep the
author from the original commit
@param committer The committer of the rebase
@param message_encoding 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.
@param message The message for this commit, or null to use the message
from the original commit.
@return 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.
Commits the current patch. You must have resolved any conflicts that were introduced during the patch application from the git_rebase_next invocation.
@param id Pointer in which to store the OID of the newly created commit @param rebase The rebase that is in-progress @param author The author of the updated commit, or null to keep the author from the original commit @param committer The committer of the rebase @param message_encoding 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. @param message The message for this commit, or null to use the message from the original commit. @return 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.