| 1098 | } |
| 1099 | |
| 1100 | static struct bitmap *get_bit_array(struct commit *c, int width) |
| 1101 | { |
| 1102 | struct bitmap **bitmap = bit_arrays_at(&bit_arrays, c); |
| 1103 | if (!*bitmap) |
| 1104 | *bitmap = bitmap_word_alloc(width); |
| 1105 | return *bitmap; |
| 1106 | } |
| 1107 | |
| 1108 | static void free_bit_array(struct commit *c) |
| 1109 | { |
no test coverage detected