builtin/reset: convert use of EMPTY_TREE_SHA1_BIN
commitd8448522d868fc549c69a026a0353c17eb25b897
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:26:02 +0000 (2 00:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:52 +0000 (2 13:59 +0900)
tree946da7514638f61dbdce6e148bd9c0d3db8675c1
parentc00866a2cc94dd0db3306963fad38b5711e542a2
builtin/reset: convert use of EMPTY_TREE_SHA1_BIN

Convert the last use of EMPTY_TREE_SHA1_BIN to use a direct copy from
the_hash_algo->empty_tree to avoid a dependency on a given hash
algorithm.

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