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

Function is_expected_rev

bisect.c:726–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724}
725
726static int is_expected_rev(const struct object_id *oid)
727{
728 struct object_id expected_oid;
729 if (refs_read_ref(get_main_ref_store(the_repository), "BISECT_EXPECTED_REV", &expected_oid))
730 return 0;
731 return oideq(oid, &expected_oid);
732}
733
734enum bisect_error bisect_checkout(const struct object_id *bisect_rev,
735 int no_checkout)

Callers 1

handle_bad_merge_baseFunction · 0.85

Calls 3

refs_read_refFunction · 0.85
get_main_ref_storeFunction · 0.85
oideqFunction · 0.85

Tested by

no test coverage detected