MCPcopy Create free account
hub / github.com/git/git / diff_opt_no_prefix

Function diff_opt_no_prefix

diff.c:5797–5806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5795}
5796
5797static int diff_opt_no_prefix(const struct option *opt,
5798 const char *optarg, int unset)
5799{
5800 struct diff_options *options = opt->value;
5801
5802 BUG_ON_OPT_NEG(unset);
5803 BUG_ON_OPT_ARG(optarg);
5804 diff_set_noprefix(options);
5805 return 0;
5806}
5807
5808static int diff_opt_default_prefix(const struct option *opt,
5809 const char *optarg, int unset)

Callers

nothing calls this directly

Calls 1

diff_set_noprefixFunction · 0.85

Tested by

no test coverage detected