From: Junio C Hamano Date: Wed, 18 Jul 2018 19:20:30 +0000 (-0700) Subject: Merge branch 'bw/protocol-v2' X-Git-Tag: v2.19.0-rc0~158 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5e6140e76fe3fc575efce8468415cb133ae873bf?ds=inline;hp=-c Merge branch 'bw/protocol-v2' Doc fix. * bw/protocol-v2: protocol-v2 doc: put HTTP headers after request --- 5e6140e76fe3fc575efce8468415cb133ae873bf diff --combined Documentation/technical/protocol-v2.txt index 49bda76d23,11c0efbfda..f58f24b1ef --- a/Documentation/technical/protocol-v2.txt +++ b/Documentation/technical/protocol-v2.txt @@@ -64,9 -64,8 +64,8 @@@ When using the http:// or https:// tran info/refs request as described in `http-protocol.txt` and requests that v2 be used by supplying "version=2" in the `Git-Protocol` header. - C: Git-Protocol: version=2 - C: C: GET $GIT_URL/info/refs?service=git-upload-pack HTTP/1.0 + C: Git-Protocol: version=2 A v2 server would reply: @@@ -290,15 -289,6 +289,15 @@@ included in the clients request as wel Cannot be used with "deepen", but can be used with "deepen-since". +If the 'filter' feature is advertised, the following argument can be +included in the client's request: + + filter + Request that various objects from the packfile be omitted + using one of several filtering techniques. These are intended + for use with partial clone and partial fetch operations. See + `rev-list` for possible "filter-spec" values. + The response of `fetch` is broken into a number of sections separated by delimiter packets (0001), with each section beginning with its section header. @@@ -402,13 -392,3 +401,13 @@@ 1 - pack data 2 - progress messages 3 - fatal error message just before stream aborts + + server-option +~~~~~~~~~~~~~~~ + +If advertised, indicates that any number of server specific options can be +included in a request. This is done by sending each option as a +"server-option=