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

Function refs_read_ref_full

refs.c:455–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453};
454
455int refs_read_ref_full(struct ref_store *refs, const char *refname,
456 int resolve_flags, struct object_id *oid, int *flags)
457{
458 if (refs_resolve_ref_unsafe(refs, refname, resolve_flags,
459 oid, flags))
460 return 0;
461 return -1;
462}
463
464int refs_read_ref(struct ref_store *refs, const char *refname, struct object_id *oid)
465{

Callers 12

lookup_other_headFunction · 0.85
rollback_single_pickFunction · 0.85
skip_single_pickFunction · 0.85
split_commit_in_progressFunction · 0.85
write_bundle_refsFunction · 0.85
refs_read_refFunction · 0.85
refs_head_ref_namespacedFunction · 0.85
set_up_replay_modeFunction · 0.85
notes_mergeFunction · 0.85
checkout_pathsFunction · 0.85
checkout_branchFunction · 0.85
handle_reference_updatesFunction · 0.85

Calls 1

refs_resolve_ref_unsafeFunction · 0.85

Tested by

no test coverage detected