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

Function add_entry

unpack-trees.c:230–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230static void add_entry(struct unpack_trees_options *o,
231 const struct cache_entry *ce,
232 unsigned int set, unsigned int clear)
233{
234 do_add_entry(o, dup_cache_entry(ce, &o->internal.result), set, clear);
235}
236
237/*
238 * add error messages on path <path>

Callers 6

add_same_unmergedFunction · 0.70
unpack_index_entryFunction · 0.70
deleted_entryFunction · 0.70
keep_entryFunction · 0.70
oneway_mergeFunction · 0.70

Calls 2

do_add_entryFunction · 0.85
dup_cache_entryFunction · 0.85

Tested by

no test coverage detected