MCPcopy Create free account
hub / github.com/git/git / get_oid_with_context

Function get_oid_with_context

object-name.c:1891–1900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1889}
1890
1891enum 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}

Callers 8

handle_dotdot_1Function · 0.85
handle_revision_arg_1Function · 0.85
setup_revisionsFunction · 0.85
repo_get_oid_with_flagsFunction · 0.85
show_blob_objectFunction · 0.85
cmd_grepFunction · 0.85
cat_one_fileFunction · 0.85
batch_one_objectFunction · 0.85

Calls 1

get_oid_with_context_1Function · 0.85

Tested by

no test coverage detected