@@ -63,8 +63,6 @@ enum fsck_msg_type {
6363 FUNC (GITATTRIBUTES_LARGE , ERROR ) \
6464 FUNC (GITATTRIBUTES_LINE_LENGTH , ERROR ) \
6565 FUNC (GITATTRIBUTES_BLOB , ERROR ) \
66- FUNC (SYMLINK_TARGET_MISSING , ERROR ) \
67- FUNC (SYMLINK_TARGET_BLOB , ERROR ) \
6866 /* warnings */ \
6967 FUNC (EMPTY_NAME , WARN ) \
7068 FUNC (FULL_PATHNAME , WARN ) \
@@ -74,8 +72,6 @@ enum fsck_msg_type {
7472 FUNC (NULL_SHA1 , WARN ) \
7573 FUNC (ZERO_PADDED_FILEMODE , WARN ) \
7674 FUNC (NUL_IN_COMMIT , WARN ) \
77- FUNC (SYMLINK_TARGET_LENGTH , WARN ) \
78- FUNC (SYMLINK_POINTS_TO_GIT_DIR , WARN ) \
7975 /* infos (reported as warnings, but ignored by default) */ \
8076 FUNC (BAD_FILEMODE , INFO ) \
8177 FUNC (GITMODULES_PARSE , INFO ) \
@@ -143,8 +139,6 @@ struct fsck_options {
143139 struct oidset gitmodules_done ;
144140 struct oidset gitattributes_found ;
145141 struct oidset gitattributes_done ;
146- struct oidset symlink_targets_found ;
147- struct oidset symlink_targets_done ;
148142 kh_oid_map_t * object_names ;
149143};
150144
@@ -154,8 +148,6 @@ struct fsck_options {
154148 .gitmodules_done = OIDSET_INIT, \
155149 .gitattributes_found = OIDSET_INIT, \
156150 .gitattributes_done = OIDSET_INIT, \
157- .symlink_targets_found = OIDSET_INIT, \
158- .symlink_targets_done = OIDSET_INIT, \
159151 .error_func = fsck_error_function \
160152}
161153#define FSCK_OPTIONS_STRICT { \
@@ -164,8 +156,6 @@ struct fsck_options {
164156 .gitmodules_done = OIDSET_INIT, \
165157 .gitattributes_found = OIDSET_INIT, \
166158 .gitattributes_done = OIDSET_INIT, \
167- .symlink_targets_found = OIDSET_INIT, \
168- .symlink_targets_done = OIDSET_INIT, \
169159 .error_func = fsck_error_function, \
170160}
171161#define FSCK_OPTIONS_MISSING_GITMODULES { \
@@ -174,8 +164,6 @@ struct fsck_options {
174164 .gitmodules_done = OIDSET_INIT, \
175165 .gitattributes_found = OIDSET_INIT, \
176166 .gitattributes_done = OIDSET_INIT, \
177- .symlink_targets_found = OIDSET_INIT, \
178- .symlink_targets_done = OIDSET_INIT, \
179167 .error_func = fsck_error_cb_print_missing_gitmodules, \
180168}
181169
0 commit comments