]> git.ipfire.org Git - thirdparty/git.git/commit
remote-curl: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:16 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:39 +0000 (11:57 +0900)
commit9c9492e8aafdcc2ec464e9261b78619b05a835f8
treee2013776c92dea1cc7a794a9d0b43e71a0bb7c23
parent05dfc7cac4a0e0dcd6c7b2f63009c03f96dba1c0
remote-curl: make hash size independent

Change one hard-coded use of the constant 40 to a reference to
the_hash_algo.  In addition, switch a use of get_oid_hex to
parse_oid_hex to avoid the need to use a constant.

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