From: John Cai Date: Tue, 25 Oct 2022 22:42:21 +0000 (-0700) Subject: fsck: remove the unused BAD_TAG_OBJECT X-Git-Tag: v2.39.0-rc0~51^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51691fed0622666a5a87f957f5c1a5d115751f42;p=thirdparty%2Fgit.git fsck: remove the unused BAD_TAG_OBJECT 2175a0c6 (fsck: stop checking tag->tagged, 2019-10-18) stopped checking the tagged object referred to by a tag object, which is what the error message BAD_TAG_OBJECT was for. Since then the BAD_TAG_OBJECT message is no longer used anywhere. Remove the BAD_TAG_OBJECT msg-id. Signed-off-by: John Cai Signed-off-by: Junio C Hamano --- diff --git a/fsck.h b/fsck.h index 6f801e53b1..7d99f6ea33 100644 --- a/fsck.h +++ b/fsck.h @@ -24,7 +24,6 @@ enum fsck_msg_type { FUNC(BAD_NAME, ERROR) \ FUNC(BAD_OBJECT_SHA1, ERROR) \ FUNC(BAD_PARENT_SHA1, ERROR) \ - FUNC(BAD_TAG_OBJECT, ERROR) \ FUNC(BAD_TIMEZONE, ERROR) \ FUNC(BAD_TREE, ERROR) \ FUNC(BAD_TREE_SHA1, ERROR) \