| 5806 | } |
| 5807 | |
| 5808 | static int diff_opt_default_prefix(const struct option *opt, |
| 5809 | const char *optarg, int unset) |
| 5810 | { |
| 5811 | struct diff_options *options = opt->value; |
| 5812 | |
| 5813 | BUG_ON_OPT_NEG(unset); |
| 5814 | BUG_ON_OPT_ARG(optarg); |
| 5815 | FREE_AND_NULL(diff_src_prefix); |
| 5816 | FREE_AND_NULL(diff_dst_prefix); |
| 5817 | diff_set_default_prefix(options); |
| 5818 | return 0; |
| 5819 | } |
| 5820 | |
| 5821 | static enum parse_opt_result diff_opt_output(struct parse_opt_ctx_t *ctx, |
| 5822 | const struct option *opt, |
nothing calls this directly
no test coverage detected