| 342 | static unsigned int indexed_commits_alloc; |
| 343 | |
| 344 | static void index_commit_for_bitmap(struct commit *commit) |
| 345 | { |
| 346 | if (indexed_commits_nr >= indexed_commits_alloc) { |
| 347 | indexed_commits_alloc = (indexed_commits_alloc + 32) * 2; |
| 348 | REALLOC_ARRAY(indexed_commits, indexed_commits_alloc); |
| 349 | } |
| 350 | |
| 351 | indexed_commits[indexed_commits_nr++] = commit; |
| 352 | } |
| 353 | |
| 354 | static void *get_delta(struct object_entry *entry) |
| 355 | { |