commit: convert uses of get_sha1_hex to get_oid_hex