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

Function refs_resolve_refdup

refs.c:436–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436char *refs_resolve_refdup(struct ref_store *refs,
437 const char *refname, int resolve_flags,
438 struct object_id *oid, int *flags)
439{
440 const char *result;
441
442 result = refs_resolve_ref_unsafe(refs, refname, resolve_flags,
443 oid, flags);
444 return xstrdup_or_null(result);
445}
446
447/* The argument to for_each_filter_refs */
448struct for_each_ref_filter {

Callers 15

head_atom_parserFunction · 0.85
populate_valueFunction · 0.85
push_unpushed_submodulesFunction · 0.85
fmt_merge_msgFunction · 0.85
wt_status_prepareFunction · 0.85
read_complete_reflogFunction · 0.85
add_reflog_for_walkFunction · 0.85
am_abortFunction · 0.85
execute_commandsFunction · 0.85
merge_commitFunction · 0.85

Calls 2

refs_resolve_ref_unsafeFunction · 0.85
xstrdup_or_nullFunction · 0.85

Tested by

no test coverage detected