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

Function read_bisect_refs

bisect.c:474–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474static int read_bisect_refs(void)
475{
476 struct refs_for_each_ref_options opts = {
477 .prefix = "refs/bisect/",
478 .trim_prefix = strlen("refs/bisect/"),
479 };
480 return refs_for_each_ref_ext(get_main_ref_store(the_repository),
481 register_ref, NULL, &opts);
482}
483
484static GIT_PATH_FUNC(git_path_bisect_names, "BISECT_NAMES")
485static GIT_PATH_FUNC(git_path_bisect_ancestors_ok, "BISECT_ANCESTORS_OK")

Callers 1

bisect_next_allFunction · 0.85

Calls 2

refs_for_each_ref_extFunction · 0.85
get_main_ref_storeFunction · 0.85

Tested by

no test coverage detected