| 665 | } |
| 666 | |
| 667 | static 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 | |
| 681 | static void add_same_unmerged(const struct cache_entry *ce, |
| 682 | struct unpack_trees_options *o) |
no outgoing calls
no test coverage detected