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

Function keep_entry

unpack-trees.c:2695–2702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2693}
2694
2695static int keep_entry(const struct cache_entry *ce,
2696 struct unpack_trees_options *o)
2697{
2698 add_entry(o, ce, 0, 0);
2699 if (ce_stage(ce))
2700 invalidate_ce_path(ce, o);
2701 return 1;
2702}
2703
2704#if DBRT_DEBUG
2705static void show_stage_entry(FILE *o,

Callers 3

threeway_mergeFunction · 0.70
twoway_mergeFunction · 0.70
bind_mergeFunction · 0.70

Calls 2

invalidate_ce_pathFunction · 0.85
add_entryFunction · 0.70

Tested by

no test coverage detected