From: John Cai via GitGitGadget Date: Tue, 25 Oct 2022 03:17:43 GMT Subject: [PATCH v2 1/2] fsck: remove the unused BAD_TAG_OBJECT Message-ID: <797c625167120ddb676db07fdab99ce4986a4dd9.1666667864.git.gitgitgadget@gmail.com> In-Reply-To: From: John Cai 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 Reviewed-by: Junio C Hamano --- fsck.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fsck.h b/fsck.h index 6f801e53b1d..7d99f6ea337 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) \ -- gitgitgadget