cache: remove null_sha1
authorbrian m. carlson <redacted>
Sun, 18 Aug 2019 20:04:20 +0000 (20:04 +0000)
committerJunio C Hamano <redacted>
Mon, 19 Aug 2019 22:04:59 +0000 (15:04 -0700)
commit8d4d86b0f0a875e7916d7de083a88d7f11251406
tree1b99e2d667ac3845e60f32e69862eed1a9b38ec6
parentf6ca67d673c66e5c3988a18c2ec56b7fef9a23b6
cache: remove null_sha1

All of the existing uses of null_sha1 can be converted into uses of
null_oid, so do so.  Remove null_sha1 and is_null_sha1, and define
is_null_oid in terms of null_oid.  This also has the additional benefit
of removing several uses of sha1_to_hex.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/clone.c
builtin/submodule--helper.c
cache.h
sha1-file.c
git clone https://git.99rst.org/PROJECT