sequencer: use the_hash_algo for empty tree object ID
commit57911a31feae8d2cb065afa502b872235d43358e
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:26:05 +0000 (2 00:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:53 +0000 (2 13:59 +0900)
treec1d4e02c73043e316775eb03ba1683405d63eea7
parenta0554934364f3c8921abb8f7526301e81c230dac
sequencer: use the_hash_algo for empty tree object ID

To ensure that we are hash algorithm agnostic, use the_hash_algo to look
up the object ID for the empty tree instead of using the empty_tree_oid
variable.

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