MCPcopy Index your code
hub / github.com/git/git / open_pack_bitmap

Function open_pack_bitmap

pack-bitmap.c:683–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683static int open_pack_bitmap(struct repository *r,
684 struct bitmap_index *bitmap_git)
685{
686 struct packed_git *p;
687 int ret = -1;
688
689 repo_for_each_pack(r, p) {
690 if (open_pack_bitmap_1(bitmap_git, p) == 0) {
691 ret = 0;
692 /*
693 * The only reason to keep looking is to report
694 * duplicates.
695 */
696 if (!trace2_is_enabled())
697 break;
698 }
699 }
700
701 return ret;
702}
703
704static int open_midx_bitmap(struct repository *r,
705 struct bitmap_index *bitmap_git)

Callers 1

open_bitmapFunction · 0.85

Calls 2

open_pack_bitmap_1Function · 0.85
trace2_is_enabledFunction · 0.85

Tested by

no test coverage detected