oidmap: use sha1hash() instead of static hash() function
authorChristian Couder <christian.couder@gmail.com>
Sat, 15 Jun 2019 10:07:01 +0000 (12:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jun 2019 01:11:41 +0000 (18:11 -0700)
Get rid of the static hash() function in oidmap.c which is redundant
with sha1hash(). Use sha1hash() directly instead.

Let's be more consistent and not use several hash functions doing
nearly exactly the same thing.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found