diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-05-30 14:04:10 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-30 14:04:10 +0900 |
commit | 54db5c0e1edf0d92bd474f515fab349b98c18a24 (patch) | |
tree | 9da6fa1473068ed9e5f9361911bfe697ae7f94eb /Documentation/technical | |
parent | Merge branch 'bc/object-id' (diff) | |
parent | {fetch,upload}-pack: support filter in protocol v2 (diff) | |
download | tgif-54db5c0e1edf0d92bd474f515fab349b98c18a24.tar.xz |
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
Diffstat (limited to 'Documentation/technical')
-rw-r--r-- | Documentation/technical/protocol-v2.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/technical/protocol-v2.txt b/Documentation/technical/protocol-v2.txt index d7b6f38e0a..49bda76d23 100644 --- a/Documentation/technical/protocol-v2.txt +++ b/Documentation/technical/protocol-v2.txt @@ -290,6 +290,15 @@ included in the clients request as well as the potential addition of the 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 <filter-spec> + 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. |