| 738 | } |
| 739 | |
| 740 | struct bitmap_index *prepare_bitmap_git(struct repository *r) |
| 741 | { |
| 742 | struct bitmap_index *bitmap_git = xcalloc(1, sizeof(*bitmap_git)); |
| 743 | |
| 744 | if (!open_bitmap(r, bitmap_git) && !load_bitmap(r, bitmap_git, 0)) |
| 745 | return bitmap_git; |
| 746 | |
| 747 | free_bitmap_index(bitmap_git); |
| 748 | return NULL; |
| 749 | } |
| 750 | |
| 751 | struct bitmap_index *prepare_midx_bitmap_git(struct multi_pack_index *midx) |
| 752 | { |