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

Function apply_option_parse_whitespace

apply.c:5062–5073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5060}
5061
5062static int apply_option_parse_whitespace(const struct option *opt,
5063 const char *arg, int unset)
5064{
5065 struct apply_state *state = opt->value;
5066
5067 BUG_ON_OPT_NEG(unset);
5068
5069 state->whitespace_option = arg;
5070 if (parse_whitespace_option(state, arg))
5071 return -1;
5072 return 0;
5073}
5074
5075static int apply_option_parse_directory(const struct option *opt,
5076 const char *arg, int unset)

Callers

nothing calls this directly

Calls 1

parse_whitespace_optionFunction · 0.85

Tested by

no test coverage detected