pub fn extra_headers_without_commit_signatures(extra: &[u8]) -> Vec<u8> ⓘExpand description
Remove embedded commit signature headers from crate::objects::CommitData::extra_headers.
Used when amending: the rewritten object must not carry the replaced tip’s
gpgsig / gpgsig-sha256 block; signing (if any) adds a fresh header later.