| 66 | }; |
| 67 | |
| 68 | static struct bitmap *active_paths_for(struct last_modified *lm, struct commit *c) |
| 69 | { |
| 70 | struct bitmap **bitmap = active_paths_for_commit_at(&lm->active_paths, c); |
| 71 | if (!*bitmap) |
| 72 | *bitmap = bitmap_word_alloc(lm->all_paths_nr / BITS_IN_EWORD + 1); |
| 73 | |
| 74 | return *bitmap; |
| 75 | } |
| 76 | |
| 77 | static void active_paths_free(struct last_modified *lm, struct commit *c) |
| 78 | { |
no test coverage detected