http.git
parse_upload_pack_request(body) -> req, err
body
req
err
Parse an upload-pack request body (want/have/done pkt-lines)
Returns { wants = {sha, ...}, haves = n, done = bool, side_band = bool, side_band_64k = bool }. Shallow and filter requests yield an error.
{ wants = {sha, ...}, haves = n, done = bool, side_band = bool, side_band_64k = bool }