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

Function read_strategy_opts

sequencer.c:3156–3166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3154}
3155
3156static void read_strategy_opts(struct replay_opts *opts, struct strbuf *buf)
3157{
3158 strbuf_reset(buf);
3159 if (!read_oneliner(buf, rebase_path_strategy(), 0))
3160 return;
3161 opts->strategy = strbuf_detach(buf, NULL);
3162 if (!read_oneliner(buf, rebase_path_strategy_opts(), 0))
3163 return;
3164
3165 parse_strategy_opts(opts, buf->buf);
3166}
3167
3168static int read_trailers(struct replay_opts *opts, struct strbuf *buf)
3169{

Callers 1

read_populate_optsFunction · 0.85

Calls 3

read_onelinerFunction · 0.85
strbuf_detachFunction · 0.85
parse_strategy_optsFunction · 0.85

Tested by

no test coverage detected