git-submodule: remove unused is_zero_oid() function
commit162410f8a020dc039ead88c0ec5337ed808b7019
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 11 Sep 2021 11:17:48 +0000 (11 13:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 Sep 2021 23:21:51 +0000 (12 16:21 -0700)
tree779feb1ae57398e8130070d60ce711b687e4a623
parent8b7c11b8668b4e774f81a9f0b4c30144b818f1d1
git-submodule: remove unused is_zero_oid() function

The is_zero_oid() function in git-submodule.sh has not been used since
e83e3333b57 (submodule: port submodule subcommand 'summary' from shell
to C, 2020-08-13), so we can remove it.

This was the last user of the sane_egrep() function in
git-sh-setup.sh. I'm not removing it in case some out-of-tree user
relied on it. Per the discussion that can be found upthread of [1].

1. https://lore.kernel.org/git/87tuiwjfvi.fsf@evledraar.gmail.com/

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh