diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-05-25 19:58:52 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-05-27 10:07:06 -0700 |
| commit | 2c6a403d96cd5d31f1638679502f06e2b953647f (patch) | |
| tree | 5d22723ca1de5cd7b06b79b26860115211dbac77 /contrib/persistent-https | |
| parent | remote: advertise the object-format capability on the server side (diff) | |
| download | git-2c6a403d96cd5d31f1638679502f06e2b953647f.tar.gz git-2c6a403d96cd5d31f1638679502f06e2b953647f.zip | |
connect: add function to parse multiple v1 capability values
In a capability response, we can have multiple symref entries. In the
future, we will also allow for multiple hash algorithms to be specified.
To avoid duplication, expand the parse_feature_value function to take an
optional offset where the parsing should begin next time. Add a wrapper
function that allows us to query the next server feature value, and use
it in the existing symref parsing code.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
