| 1550 | } |
| 1551 | |
| 1552 | static int parse_have(const char *line, struct upload_pack_data *data) |
| 1553 | { |
| 1554 | const char *arg; |
| 1555 | if (skip_prefix(line, "have ", &arg)) { |
| 1556 | struct object_id oid; |
| 1557 | |
| 1558 | got_oid(data, arg, &oid); |
| 1559 | data->seen_haves = 1; |
| 1560 | return 1; |
| 1561 | } |
| 1562 | |
| 1563 | return 0; |
| 1564 | } |
| 1565 | |
| 1566 | static void trace2_fetch_info(struct upload_pack_data *data) |
| 1567 | { |
no test coverage detected