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

Function for_each_bisect_ref

revision.c:2755–2766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2753}
2754
2755static int for_each_bisect_ref(struct ref_store *refs, refs_for_each_cb fn,
2756 void *cb_data, const char *term)
2757{
2758 struct refs_for_each_ref_options opts = { 0 };
2759 struct strbuf bisect_refs = STRBUF_INIT;
2760 int status;
2761 strbuf_addf(&bisect_refs, "refs/bisect/%s", term);
2762 opts.prefix = bisect_refs.buf;
2763 status = refs_for_each_ref_ext(refs, fn, cb_data, &opts);
2764 strbuf_release(&bisect_refs);
2765 return status;
2766}
2767
2768static int for_each_bad_bisect_ref(struct ref_store *refs, refs_for_each_cb fn, void *cb_data)
2769{

Callers 2

for_each_bad_bisect_refFunction · 0.85
for_each_good_bisect_refFunction · 0.85

Calls 3

strbuf_addfFunction · 0.85
refs_for_each_ref_extFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected