| 1297 | } |
| 1298 | |
| 1299 | static struct convert_driver *git_path_check_convert(struct attr_check_item *check) |
| 1300 | { |
| 1301 | const char *value = check->value; |
| 1302 | struct convert_driver *drv; |
| 1303 | |
| 1304 | if (ATTR_TRUE(value) || ATTR_FALSE(value) || ATTR_UNSET(value)) |
| 1305 | return NULL; |
| 1306 | for (drv = user_convert; drv; drv = drv->next) |
| 1307 | if (!strcmp(value, drv->name)) |
| 1308 | return drv; |
| 1309 | return NULL; |
| 1310 | } |
| 1311 | |
| 1312 | static int git_path_check_ident(struct attr_check_item *check) |
| 1313 | { |