MCPcopy Index your code
hub / github.com/git/git / skip_single_pick

Function skip_single_pick

sequencer.c:3504–3511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3502}
3503
3504static int skip_single_pick(void)
3505{
3506 struct object_id head;
3507
3508 if (refs_read_ref_full(get_main_ref_store(the_repository), "HEAD", 0, &head, NULL))
3509 return error(_("cannot resolve HEAD"));
3510 return reset_merge(&head);
3511}
3512
3513int sequencer_rollback(struct repository *r, struct replay_opts *opts)
3514{

Callers 1

sequencer_skipFunction · 0.85

Calls 4

refs_read_ref_fullFunction · 0.85
get_main_ref_storeFunction · 0.85
errorFunction · 0.85
reset_mergeFunction · 0.85

Tested by

no test coverage detected