@@ -63,8 +63,6 @@ enum fsck_msg_type {
63
63
FUNC (GITATTRIBUTES_LARGE , ERROR ) \
64
64
FUNC (GITATTRIBUTES_LINE_LENGTH , ERROR ) \
65
65
FUNC (GITATTRIBUTES_BLOB , ERROR ) \
66
- FUNC (SYMLINK_TARGET_MISSING , ERROR ) \
67
- FUNC (SYMLINK_TARGET_BLOB , ERROR ) \
68
66
/* warnings */ \
69
67
FUNC (EMPTY_NAME , WARN ) \
70
68
FUNC (FULL_PATHNAME , WARN ) \
@@ -74,8 +72,6 @@ enum fsck_msg_type {
74
72
FUNC (NULL_SHA1 , WARN ) \
75
73
FUNC (ZERO_PADDED_FILEMODE , WARN ) \
76
74
FUNC (NUL_IN_COMMIT , WARN ) \
77
- FUNC (SYMLINK_TARGET_LENGTH , WARN ) \
78
- FUNC (SYMLINK_POINTS_TO_GIT_DIR , WARN ) \
79
75
/* infos (reported as warnings, but ignored by default) */ \
80
76
FUNC (BAD_FILEMODE , INFO ) \
81
77
FUNC (GITMODULES_PARSE , INFO ) \
@@ -143,8 +139,6 @@ struct fsck_options {
143
139
struct oidset gitmodules_done ;
144
140
struct oidset gitattributes_found ;
145
141
struct oidset gitattributes_done ;
146
- struct oidset symlink_targets_found ;
147
- struct oidset symlink_targets_done ;
148
142
kh_oid_map_t * object_names ;
149
143
};
150
144
@@ -154,8 +148,6 @@ struct fsck_options {
154
148
.gitmodules_done = OIDSET_INIT, \
155
149
.gitattributes_found = OIDSET_INIT, \
156
150
.gitattributes_done = OIDSET_INIT, \
157
- .symlink_targets_found = OIDSET_INIT, \
158
- .symlink_targets_done = OIDSET_INIT, \
159
151
.error_func = fsck_error_function \
160
152
}
161
153
#define FSCK_OPTIONS_STRICT { \
@@ -164,8 +156,6 @@ struct fsck_options {
164
156
.gitmodules_done = OIDSET_INIT, \
165
157
.gitattributes_found = OIDSET_INIT, \
166
158
.gitattributes_done = OIDSET_INIT, \
167
- .symlink_targets_found = OIDSET_INIT, \
168
- .symlink_targets_done = OIDSET_INIT, \
169
159
.error_func = fsck_error_function, \
170
160
}
171
161
#define FSCK_OPTIONS_MISSING_GITMODULES { \
@@ -174,8 +164,6 @@ struct fsck_options {
174
164
.gitmodules_done = OIDSET_INIT, \
175
165
.gitattributes_found = OIDSET_INIT, \
176
166
.gitattributes_done = OIDSET_INIT, \
177
- .symlink_targets_found = OIDSET_INIT, \
178
- .symlink_targets_done = OIDSET_INIT, \
179
167
.error_func = fsck_error_cb_print_missing_gitmodules, \
180
168
}
181
169
0 commit comments