MCPcopy Create free account
hub / github.com/git/git / clear_object_flags

Function clear_object_flags

object.c:532–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532void clear_object_flags(struct repository *repo, unsigned flags)
533{
534 int i;
535
536 for (i = 0; i < repo->parsed_objects->obj_hash_size; i++) {
537 struct object *obj = repo->parsed_objects->obj_hash[i];
538 if (obj)
539 obj->flags &= ~flags;
540 }
541}
542
543void repo_clear_commit_marks(struct repository *r, unsigned int flags)
544{

Callers 5

find_boundary_objectsFunction · 0.85
upload_pack_v2Function · 0.85
reset_revision_walkFunction · 0.85
cmd_format_patchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected