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

Function repo_clear_commit_marks

object.c:543–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543void repo_clear_commit_marks(struct repository *r, unsigned int flags)
544{
545 int i;
546
547 for (i = 0; i < r->parsed_objects->obj_hash_size; i++) {
548 struct object *obj = r->parsed_objects->obj_hash[i];
549 if (obj && obj->type == OBJ_COMMIT)
550 obj->flags &= ~flags;
551 }
552}
553
554struct parsed_object_pool *parsed_object_pool_new(struct repository *repo)
555{

Callers 5

ahead_behindFunction · 0.85
bisect_next_allFunction · 0.85
orphaned_commit_warningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected