aboutsummaryrefslogtreecommitdiffstats
path: root/serve.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-05-25 19:59:16 +0000
committerJunio C Hamano <gitster@pobox.com>2020-05-27 10:07:07 -0700
commitab67235bc4900d8203a1a6b6f33cf8afa845e43e (patch)
tree978d03910cc8cd4399e18b07e90fa0b6b973c262 /serve.c
parent67e9a70741c577b6e49bd60556779c7ab32ae4f8 (diff)
downloadgit-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