MCPcopy Index your code
hub / github.com/git/git / repo_get_oid_commit

Function repo_get_oid_commit

object-name.c:1588–1593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1586}
1587
1588int repo_get_oid_commit(struct repository *r,
1589 const char *name,
1590 struct object_id *oid)
1591{
1592 return repo_get_oid_with_flags(r, name, oid, GET_OID_COMMIT);
1593}
1594
1595int repo_get_oid_tree(struct repository *r,
1596 const char *name,

Callers 3

do_commitFunction · 0.85
bisect_resetFunction · 0.85

Calls 1

repo_get_oid_with_flagsFunction · 0.85

Tested by

no test coverage detected