]> git.ipfire.org Git - thirdparty/git.git/commit - transport.h
transport: add a hash algorithm member
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 25 May 2020 19:58:55 +0000 (19:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2020 17:07:06 +0000 (10:07 -0700)
commit7c97af4d64100bf9ce4b335ee91e743378e2e181
treee25661f07b806ecf36ee46eed99b69019a50c334
parent9a9f0d3fc0888599723812be62fa2d7b3cc4d2d6
transport: add a hash algorithm member

When connecting to a remote system, we need to know what hash algorithm
it will be using to talk to us.  Add a hash_algo member to struct
transport and add a function to read this data from the transport
object.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c
transport.h