| 2231 | } |
| 2232 | |
| 2233 | static 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 | |
| 2245 | void negotiate_using_fetch(const struct oid_array *negotiation_restrict_tips, |
| 2246 | const struct string_list *server_options, |
no test coverage detected