diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-05-25 19:59:16 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-05-27 10:07:07 -0700 |
| commit | ab67235bc4900d8203a1a6b6f33cf8afa845e43e (patch) | |
| tree | 978d03910cc8cd4399e18b07e90fa0b6b973c262 /serve.c | |
| parent | 67e9a70741c577b6e49bd60556779c7ab32ae4f8 (diff) | |
| download | git-ab67235bc4900d8203a1a6b6f33cf8afa845e43e.tar.gz | |
connect: parse v2 refs with correct hash algorithm
When using protocol v2, we need to know what hash algorithm is used by
the remote end. See if the server has sent us an object-format
capability, and if so, use it to determine the hash algorithm in use and
set that value in the packet reader. Parse the refs using this
algorithm.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'serve.c')
0 files changed, 0 insertions, 0 deletions
