]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/receive-pack.c
builtin/receive-pack: detect when the server doesn't support our hash
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 25 May 2020 19:59:01 +0000 (19:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2020 17:07:06 +0000 (10:07 -0700)
commitbb095d087557b9ded2245270d3fac64ddc774af6
tree3f1606b6d03d075e166b20242266e66b8f7e65ce
parent7c601dc333b6cd86a84e77f41c968a3bb773ba36
builtin/receive-pack: detect when the server doesn't support our hash

Detect when the server doesn't support our hash algorithm and abort.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c