| 813 | } |
| 814 | |
| 815 | static struct object_id *get_cache_tree_oid(struct index_state *istate) |
| 816 | { |
| 817 | if (!cache_tree_fully_valid(istate->cache_tree)) |
| 818 | if (cache_tree_update(istate, 0)) { |
| 819 | error(_("unable to update cache tree")); |
| 820 | return NULL; |
| 821 | } |
| 822 | |
| 823 | return &istate->cache_tree->oid; |
| 824 | } |
| 825 | |
| 826 | static int is_index_unchanged(struct repository *r) |
| 827 | { |
no test coverage detected