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

Function replay_opts_release

sequencer.c:412–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void replay_opts_release(struct replay_opts *opts)
413{
414 struct replay_ctx *ctx = opts->ctx;
415
416 free(opts->gpg_sign);
417 free(opts->reflog_action);
418 free(opts->default_strategy);
419 free(opts->strategy);
420 strvec_clear (&opts->xopts);
421 if (opts->revs)
422 release_revisions(opts->revs);
423 free(opts->revs);
424 strvec_clear(&opts->trailer_args);
425 replay_ctx_release(ctx);
426 free(opts->ctx);
427}
428
429int sequencer_remove_state(struct replay_opts *opts)
430{

Callers 7

do_interactive_rebaseFunction · 0.85
run_sequencer_rebaseFunction · 0.85
finish_rebaseFunction · 0.85
cmd_rebaseFunction · 0.85
cmd_revertFunction · 0.85
cmd_cherry_pickFunction · 0.85

Calls 3

strvec_clearFunction · 0.85
release_revisionsFunction · 0.85
replay_ctx_releaseFunction · 0.85

Tested by

no test coverage detected