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

Function clear_common_flag

fetch-pack.c:2233–2243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2231}
2232
2233static void clear_common_flag(struct oidset *s)
2234{
2235 struct oidset_iter iter;
2236 const struct object_id *oid;
2237 oidset_iter_init(s, &iter);
2238
2239 while ((oid = oidset_iter_next(&iter))) {
2240 struct object *obj = lookup_object(the_repository, oid);
2241 obj->flags &= ~COMMON;
2242 }
2243}
2244
2245void negotiate_using_fetch(const struct oid_array *negotiation_restrict_tips,
2246 const struct string_list *server_options,

Callers 1

negotiate_using_fetchFunction · 0.85

Calls 3

oidset_iter_initFunction · 0.85
oidset_iter_nextFunction · 0.85
lookup_objectFunction · 0.85

Tested by

no test coverage detected