pub fn sha256_to_oid(hash: &Sha256Hash) -> Result<Oid>
Use hash_to_oid instead - it supports GitHash enum