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

Function reduce_heads_replace

commit-reach.c:693–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693void reduce_heads_replace(struct commit_list **heads)
694{
695 struct commit_list *result = reduce_heads(*heads);
696 commit_list_free(*heads);
697 *heads = result;
698}
699
700int ref_newer(const struct object_id *new_oid, const struct object_id *old_oid)
701{

Callers 6

find_merge_parentsFunction · 0.85
get_octopus_merge_baseFunction · 0.85
handle_independentFunction · 0.85
handle_octopusFunction · 0.85
cmd_commitFunction · 0.85

Calls 2

reduce_headsFunction · 0.85
commit_list_freeFunction · 0.85

Tested by

no test coverage detected