]> git.ipfire.org Git - thirdparty/git.git/commitdiff
fsck: remove the unused BAD_TAG_OBJECT
authorJohn Cai <johncai86@gmail.com>
Tue, 25 Oct 2022 22:42:21 +0000 (15:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Oct 2022 22:44:18 +0000 (15:44 -0700)
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 <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.h

diff --git a/fsck.h b/fsck.h
index 6f801e53b1d70ea9e522babbb119b913a7b32b62..7d99f6ea337d8802eb193eb80f5bc60fdbdb5c66 100644 (file)
--- 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) \