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

Function object_array_clear

object.c:523–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void object_array_clear(struct object_array *array)
524{
525 int i;
526 for (i = 0; i < array->nr; i++)
527 object_array_release_entry(&array->objects[i]);
528 FREE_AND_NULL(array->objects);
529 array->nr = array->alloc = 0;
530}
531
532void clear_object_flags(struct repository *repo, unsigned flags)
533{

Callers 15

find_boundary_objectsFunction · 0.85
prepare_bitmap_walkFunction · 0.85
negotiate_using_fetchFunction · 0.85
find_first_mergesFunction · 0.85
merge_submoduleFunction · 0.85
upload_pack_data_clearFunction · 0.85
can_all_from_reachFunction · 0.85
commit_is_completeFunction · 0.85
release_revisionsFunction · 0.85
prepare_revision_walkFunction · 0.85
traverse_non_commitsFunction · 0.85
create_bundleFunction · 0.85

Calls 1

Tested by 1

cmd__reachFunction · 0.68