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

Function bisect_next

builtin/bisect.c:678–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678static enum bisect_error bisect_next(struct bisect_terms *terms, const char *prefix)
679{
680 enum bisect_error res;
681
682 if (bisect_autostart(terms))
683 return BISECT_FAILED;
684
685 if (bisect_next_check(terms, terms->term_good))
686 return BISECT_FAILED;
687
688 /* Perform all bisection computation */
689 res = bisect_next_all(the_repository, prefix);
690
691 if (res == BISECT_INTERNAL_SUCCESS_1ST_BAD_FOUND) {
692 res = bisect_successful(terms);
693 return res ? res : BISECT_INTERNAL_SUCCESS_1ST_BAD_FOUND;
694 } else if (res == BISECT_ONLY_SKIPPED_LEFT) {
695 res = bisect_skipped_commits(terms);
696 return res ? res : BISECT_ONLY_SKIPPED_LEFT;
697 }
698 return res;
699}
700
701static enum bisect_error bisect_auto_next(struct bisect_terms *terms, const char *prefix)
702{

Callers 2

bisect_auto_nextFunction · 0.85
cmd_bisect__nextFunction · 0.85

Calls 5

bisect_autostartFunction · 0.85
bisect_next_checkFunction · 0.85
bisect_next_allFunction · 0.85
bisect_successfulFunction · 0.85
bisect_skipped_commitsFunction · 0.85

Tested by

no test coverage detected