From: Junio C Hamano Date: Wed, 30 May 2018 05:04:10 +0000 (+0900) Subject: Merge branch 'jt/partial-clone-proto-v2' X-Git-Tag: v2.18.0-rc0~16 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/54db5c0e1edf0d92bd474f515fab349b98c18a24?hp=-c Merge branch 'jt/partial-clone-proto-v2' Transfer protocol v2 learned to support the partial clone. * jt/partial-clone-proto-v2: {fetch,upload}-pack: support filter in protocol v2 upload-pack: read config when serving protocol v2 upload-pack: fix error message typo --- 54db5c0e1edf0d92bd474f515fab349b98c18a24 diff --combined Documentation/technical/protocol-v2.txt index d7b6f38e0a,38d24fd2bc..49bda76d23 --- a/Documentation/technical/protocol-v2.txt +++ b/Documentation/technical/protocol-v2.txt @@@ -290,6 -290,15 +290,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. @@@ -393,13 -402,3 +402,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=