oidmap: use sha1hash() instead of static hash() function
commit19cfa0e03316df26045c2f6d11ef860c2ca79a92
authorChristian Couder <christian.couder@gmail.com>
Sat, 15 Jun 2019 10:07:01 +0000 (15 12:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jun 2019 01:11:41 +0000 (17 18:11 -0700)
tree2fc30d94b07cc53b2746b240db3249fb568d0f17
parentc1f7f53834636081af83743737a45e3c7fee7ee0
oidmap: use sha1hash() instead of static hash() function

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>
oidmap.c