| 1284 | } |
| 1285 | |
| 1286 | static enum eol git_path_check_eol(struct attr_check_item *check) |
| 1287 | { |
| 1288 | const char *value = check->value; |
| 1289 | |
| 1290 | if (ATTR_UNSET(value)) |
| 1291 | ; |
| 1292 | else if (!strcmp(value, "lf")) |
| 1293 | return EOL_LF; |
| 1294 | else if (!strcmp(value, "crlf")) |
| 1295 | return EOL_CRLF; |
| 1296 | return EOL_UNSET; |
| 1297 | } |
| 1298 | |
| 1299 | static struct convert_driver *git_path_check_convert(struct attr_check_item *check) |
| 1300 | { |