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

Function single_pick

sequencer.c:5522–5534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5520}
5521
5522static int single_pick(struct repository *r,
5523 struct commit *cmit,
5524 struct replay_opts *opts)
5525{
5526 int check_todo;
5527 struct todo_item item;
5528
5529 item.command = opts->action == REPLAY_PICK ?
5530 TODO_PICK : TODO_REVERT;
5531 item.commit = cmit;
5532
5533 return do_pick_commit(r, &item, opts, 0, &check_todo);
5534}
5535
5536int sequencer_pick_revisions(struct repository *r,
5537 struct replay_opts *opts)

Callers 1

sequencer_pick_revisionsFunction · 0.85

Calls 1

do_pick_commitFunction · 0.85

Tested by

no test coverage detected