| 5506 | } |
| 5507 | |
| 5508 | static int diff_opt_ws_error_highlight(const struct option *option, |
| 5509 | const char *arg, int unset) |
| 5510 | { |
| 5511 | struct diff_options *opt = option->value; |
| 5512 | int val = parse_ws_error_highlight(arg); |
| 5513 | |
| 5514 | BUG_ON_OPT_NEG(unset); |
| 5515 | if (val < 0) |
| 5516 | return error(_("unknown value after ws-error-highlight=%.*s"), |
| 5517 | -1 - val, arg); |
| 5518 | opt->ws_error_highlight = val; |
| 5519 | return 0; |
| 5520 | } |
| 5521 | |
| 5522 | static int diff_opt_find_object(const struct option *option, |
| 5523 | const char *arg, int unset) |
nothing calls this directly
no test coverage detected