| 5771 | } |
| 5772 | |
| 5773 | static int diff_opt_ignore_submodules(const struct option *opt, |
| 5774 | const char *arg, int unset) |
| 5775 | { |
| 5776 | struct diff_options *options = opt->value; |
| 5777 | |
| 5778 | BUG_ON_OPT_NEG(unset); |
| 5779 | if (!arg) |
| 5780 | arg = "all"; |
| 5781 | options->flags.override_submodule_config = 1; |
| 5782 | handle_ignore_submodules_arg(options, arg); |
| 5783 | return 0; |
| 5784 | } |
| 5785 | |
| 5786 | static int diff_opt_line_prefix(const struct option *opt, |
| 5787 | const char *optarg, int unset) |
nothing calls this directly
no test coverage detected