diff options
author | Christian Couder <christian.couder@gmail.com> | 2017-11-05 22:38:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-07 09:54:41 +0900 |
commit | f11c8ce1f6fe85f11d6f6e4453fa81b6b6389b06 (patch) | |
tree | f697ba86cfca132644cebdfbec2ce7c61496c0b3 /Documentation/git-archive.txt | |
parent | t0021/rot13-filter: refactor checking final lf (diff) | |
download | tgif-f11c8ce1f6fe85f11d6f6e4453fa81b6b6389b06.tar.xz |
t0021/rot13-filter: add capability functions
These function help read and write capabilities.
To make them more generic and make it easy to reuse them,
the following changes are made:
- we don't require capabilities to come in a fixed order,
- we allow duplicates,
- we check that the remote supports the capabilities we
advertise,
- we don't check if the remote declares any capability we
don't know about.
The reason behind the last change is that the protocol
should work using only the capabilities that both ends
support, and it should not stop working if one end starts
to advertise a new capability.
Despite those changes, we can still require a set of
capabilities, and die if one of them is not supported.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-archive.txt')
0 files changed, 0 insertions, 0 deletions