connect: add function to detect supported v1 hash functions
authorbrian m. carlson <redacted>
Mon, 25 May 2020 19:58:56 +0000 (19:58 +0000)
committerJunio C Hamano <redacted>
Wed, 27 May 2020 17:07:06 +0000 (10:07 -0700)
commit122037c2edec0c2bbcbfe52679fddc438165ab54
tree0e08fcd17d2b713a34791c806c5b806f64e73d98
parent7c97af4d64100bf9ce4b335ee91e743378e2e181
connect: add function to detect supported v1 hash functions

Add a function, server_supports_hash, to see if the remote server
supports a particular hash algorithm when speaking protocol v1.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
connect.c
connect.h
git clone https://git.99rst.org/PROJECT