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

Function parse_have

upload-pack.c:1552–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550}
1551
1552static 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
1566static void trace2_fetch_info(struct upload_pack_data *data)
1567{

Callers 1

process_argsFunction · 0.85

Calls 1

got_oidFunction · 0.85

Tested by

no test coverage detected