pub fn split_signed_commit(raw: &[u8]) -> Result<Option<(Vec<u8>, String)>>Expand description
Split a raw commit object into (payload-as-signed, armored signature).
Git signs the commit object with the gpgsig header removed; the header’s
value spans continuation lines (each prefixed with one space). Returns
Ok(None) for an unsigned commit.