| 1331 | } |
| 1332 | |
| 1333 | static void add_common(struct strbuf *req_buf, struct oidset *common) |
| 1334 | { |
| 1335 | struct oidset_iter iter; |
| 1336 | const struct object_id *oid; |
| 1337 | oidset_iter_init(common, &iter); |
| 1338 | |
| 1339 | while ((oid = oidset_iter_next(&iter))) { |
| 1340 | packet_buf_write(req_buf, "have %s\n", oid_to_hex(oid)); |
| 1341 | } |
| 1342 | } |
| 1343 | |
| 1344 | static int add_haves(struct fetch_negotiator *negotiator, |
| 1345 | struct strbuf *req_buf, |
no test coverage detected