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

Function error_if_skipped_commits

bisect.c:707–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707static enum bisect_error error_if_skipped_commits(struct commit_list *tried,
708 const struct object_id *bad)
709{
710 if (!tried)
711 return BISECT_OK;
712
713 printf("There are only 'skip'ped commits left to test.\n"
714 "The first '%s' commit could be any of:\n", term_bad);
715
716 for ( ; tried; tried = tried->next)
717 printf("%s\n", oid_to_hex(&tried->item->object.oid));
718
719 if (bad)
720 printf("%s\n", oid_to_hex(bad));
721 printf(_("We cannot bisect more!\n"));
722
723 return BISECT_ONLY_SKIPPED_LEFT;
724}
725
726static int is_expected_rev(const struct object_id *oid)
727{

Callers 1

bisect_next_allFunction · 0.85

Calls 1

oid_to_hexFunction · 0.85

Tested by

no test coverage detected