| 1889 | } |
| 1890 | |
| 1891 | enum get_oid_result get_oid_with_context(struct repository *repo, |
| 1892 | const char *str, |
| 1893 | unsigned flags, |
| 1894 | struct object_id *oid, |
| 1895 | struct object_context *oc) |
| 1896 | { |
| 1897 | if (flags & GET_OID_FOLLOW_SYMLINKS && flags & GET_OID_ONLY_TO_DIE) |
| 1898 | BUG("incompatible flags for get_oid_with_context"); |
| 1899 | return get_oid_with_context_1(repo, str, flags, NULL, oid, oc); |
| 1900 | } |
no test coverage detected