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

Function lookup_commit_reference

commit.c:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76struct commit *lookup_commit_reference(struct repository *r, const struct object_id *oid)
77{
78 return lookup_commit_reference_gently(r, oid, 0);
79}
80
81struct commit *lookup_commit_or_die(const struct object_id *oid, const char *ref_name)
82{

Callers 15

merge_submoduleFunction · 0.85
show_submodule_headerFunction · 0.85
parse_opt_commitsFunction · 0.85
parse_opt_commitFunction · 0.85
append_parentFunction · 0.85
output_pair_headerFunction · 0.85
handle_dotdot_1Function · 0.85
handle_revision_optFunction · 0.85
parse_headFunction · 0.85
update_squash_messagesFunction · 0.85
parse_insn_lineFunction · 0.85
stat_branch_pairFunction · 0.85

Calls 1

Tested by

no test coverage detected