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

Function ll_diff_tree_oid

tree-diff.c:698–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696}
697
698static void ll_diff_tree_oid(const struct object_id *old_oid,
699 const struct object_id *new_oid,
700 struct strbuf *base, struct diff_options *opt)
701{
702 struct combine_diff_path *paths, *p;
703 pathchange_fn_t pathchange_old = opt->pathchange;
704
705 opt->pathchange = emit_diff_first_parent_only;
706 paths = diff_tree_paths(new_oid, &old_oid, 1, base, opt);
707
708 for (p = paths; p;) {
709 struct combine_diff_path *pprev = p;
710 p = p->next;
711 free(pprev);
712 }
713
714 opt->pathchange = pathchange_old;
715}
716
717void diff_tree_oid(const struct object_id *old_oid,
718 const struct object_id *new_oid,

Callers 2

try_to_follow_renamesFunction · 0.85
diff_tree_oidFunction · 0.85

Calls 1

diff_tree_pathsFunction · 0.85

Tested by

no test coverage detected