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

Function free_bit_array

commit-reach.c:1108–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108static void free_bit_array(struct commit *c)
1109{
1110 struct bitmap **bitmap = bit_arrays_at(&bit_arrays, c);
1111 if (!*bitmap)
1112 return;
1113 bitmap_free(*bitmap);
1114 *bitmap = NULL;
1115}
1116
1117void ahead_behind(struct repository *r,
1118 struct commit **commits, size_t commits_nr,

Callers 1

ahead_behindFunction · 0.85

Calls 1

bitmap_freeFunction · 0.85

Tested by

no test coverage detected