| 93 | } |
| 94 | |
| 95 | static void add_dir_entry(struct index_state *istate, struct cache_entry *ce) |
| 96 | { |
| 97 | /* Add reference to the directory entry (and parents if 0). */ |
| 98 | struct dir_entry *dir = hash_dir_entry(istate, ce, ce_namelen(ce)); |
| 99 | while (dir && !(dir->nr++)) |
| 100 | dir = dir->parent; |
| 101 | } |
| 102 | |
| 103 | static void remove_dir_entry(struct index_state *istate, struct cache_entry *ce) |
| 104 | { |
no test coverage detected