lock_packed_refs(): take a `packed_ref_store *` parameter
[gitweb.git] / revision.c
index 9c67cb6026e8d39a1f72be35c030297e1ad84784..50039c92d66943c028ed12e81bac5278f7b008e6 100644 (file)
@@ -2044,7 +2044,7 @@ static int for_each_bisect_ref(const char *submodule, each_ref_fn fn, void *cb_d
        struct strbuf bisect_refs = STRBUF_INIT;
        int status;
        strbuf_addf(&bisect_refs, "refs/bisect/%s", term);
-       status = for_each_ref_in_submodule(submodule, bisect_refs.buf, fn, cb_data);
+       status = for_each_fullref_in_submodule(submodule, bisect_refs.buf, fn, cb_data, 0);
        strbuf_release(&bisect_refs);
        return status;
 }