pub fn tree_oid_of_commit(odb: &Odb, commit_oid: &ObjectId) -> Result<ObjectId>
Return the tree OID stored in a commit object.
Returns object read/parse errors when commit_oid is missing or not a commit.
commit_oid