| 66 | } |
| 67 | |
| 68 | int parse_oid_hex_any(const char *hex, struct object_id *oid, const char **end) |
| 69 | { |
| 70 | int ret = get_oid_hex_any(hex, oid); |
| 71 | if (ret) |
| 72 | *end = hex + hash_algos[ret].hexsz; |
| 73 | return ret; |
| 74 | } |
| 75 | |
| 76 | int parse_oid_hex(const char *hex, struct object_id *oid, const char **end) |
| 77 | { |