fast-export: convert sha1 to oid
commit843b9e6d488b430e76fdfdebad186070063a71ea
authorElijah Newren <newren@gmail.com>
Fri, 16 Nov 2018 07:59:46 +0000 (15 23:59 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Nov 2018 09:43:50 +0000 (17 18:43 +0900)
treeee17f5ca0505638eec233cfed60f34e5b69d05ec
parentd166e6afe5f257217836ef24a73764eba390c58d
fast-export: convert sha1 to oid

Rename anonymize_sha1() to anonymize_oid(() and change its signature,
and switch from sha1_to_hex() to oid_to_hex() and from GIT_SHA1_RAWSZ to
the_hash_algo->rawsz.  Also change a comment and a die string to mention
oid instead of sha1.

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fast-export.c