Based on top of[1] this is part of a split-up of [2] into more digestable pieces. I've addressed feedback on this part of the series this mostly-a-re-roll. 1. http://lore.kernel.org/git/cover-0.3-0000000000-20210409T080534Z-avarab@xxxxxxxxx 2. https://lore.kernel.org/git/cover-00.11-00000000000-20210328T021238Z-avarab@xxxxxxxxx/ Ævar Arnfjörð Bjarmason (6): object.c: stop supporting len == -1 in type_from_string_gently() object.c: remove "gently" argument to type_from_string_gently() object.c: make type_from_string() return "enum object_type" object-file.c: make oid_object_info() return "enum object_type" object-name.c: make dependency on object_type order more obvious tag.c: use type_from_string_gently() when parsing tags builtin/blame.c | 2 +- builtin/index-pack.c | 2 +- fsck.c | 2 +- object-file.c | 10 ++++------ object-name.c | 25 +++++++++++++------------ object-store.h | 4 +++- object.c | 20 +++++++++++--------- object.h | 4 ++-- packfile.c | 2 +- tag.c | 19 ++++++++++--------- 10 files changed, 47 insertions(+), 43 deletions(-) -- 2.31.1.592.gdf54ba9003