pub fn encode_commit_object(commit: CommitCreate) -> Result<EncodedObject>Expand description
Validate and serialize a commit request into an encodable object: parent /
tree formats must agree, the canonical commit body is written, and an
optional detached signature is folded under git’s gpgsig
(gpgsig-sha256) continuation-header convention.