sha1dc: disable safe_hash feature
commitc0c20060af3dfc55258e0b9168e0d9c564b5bdfd
authorJeff King <peff@peff.net>
Thu, 16 Mar 2017 22:08:49 +0000 (16 18:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 22:16:45 +0000 (16 15:16 -0700)
tree018a9b4398e3e4de09a8c088cc1478cdb561598e
parent45a574eec82424ac11c4c5fe117725597309b9c9
sha1dc: disable safe_hash feature

The safe_hash feature is designed to make sha1dc a drop-in
replacement for sha1, where colliding entries will get a
permuted hash to un-collide them. However, since we're
handling the collision case ourselves, this isn't helpful
(and is actually harmful, as it means you get the wrong
object id if you want to show it in a log message).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1dc/sha1.c