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

Function show_boundary_commit

pack-bitmap.c:1314–1328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1312};
1313
1314static void show_boundary_commit(struct commit *commit, void *_data)
1315{
1316 struct bitmap_boundary_cb *data = _data;
1317
1318 if (commit->object.flags & BOUNDARY)
1319 add_object_array(&commit->object, "", &data->boundary);
1320
1321 if (commit->object.flags & UNINTERESTING) {
1322 if (bitmap_walk_contains(data->bitmap_git, data->base,
1323 &commit->object.oid))
1324 return;
1325
1326 add_commit_to_bitmap(data->bitmap_git, &data->base, commit);
1327 }
1328}
1329
1330static void show_boundary_object(struct object *object UNUSED,
1331 const char *name UNUSED,

Callers

nothing calls this directly

Calls 3

add_object_arrayFunction · 0.85
bitmap_walk_containsFunction · 0.85
add_commit_to_bitmapFunction · 0.85

Tested by

no test coverage detected