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

Function are_same_oid

unpack-trees.c:749–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747}
748
749static inline int are_same_oid(struct name_entry *name_j, struct name_entry *name_k)
750{
751 return !is_null_oid(&name_j->oid) && !is_null_oid(&name_k->oid) && oideq(&name_j->oid, &name_k->oid);
752}
753
754static int all_trees_same_as_cache_tree(int n, unsigned long dirmask,
755 struct name_entry *names,

Callers 2

traverse_trees_recursiveFunction · 0.85

Calls 2

is_null_oidFunction · 0.85
oideqFunction · 0.85

Tested by

no test coverage detected