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

Function next_cache_entry

unpack-trees.c:667–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665}
666
667static struct cache_entry *next_cache_entry(struct unpack_trees_options *o)
668{
669 const struct index_state *index = o->src_index;
670 int pos = o->internal.cache_bottom;
671
672 while (pos < index->cache_nr) {
673 struct cache_entry *ce = index->cache[pos];
674 if (!(ce->ce_flags & CE_UNPACKED))
675 return ce;
676 pos++;
677 }
678 return NULL;
679}
680
681static void add_same_unmerged(const struct cache_entry *ce,
682 struct unpack_trees_options *o)

Callers 2

unpack_callbackFunction · 0.85
unpack_treesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected