continue;
name = posn->symref ? posn->symref : posn->name;
if (data->rs.nr)
- private = apply_refspecs(data->rs.items, data->rs.nr, name);
+ private = apply_refspecs(&data->rs, name);
else
private = xstrdup(name);
if (private) {
continue;
/* propagate back the update to the remote namespace */
- private = apply_refspecs(data->rs.items, data->rs.nr, ref->name);
+ private = apply_refspecs(&data->rs, ref->name);
if (!private)
continue;
update_ref("update by helper", private, &ref->new_oid, NULL,
char *private;
struct object_id oid;
- private = apply_refspecs(data->rs.items, data->rs.nr, ref->name);
+ private = apply_refspecs(&data->rs, ref->name);
if (private && !get_oid(private, &oid)) {
strbuf_addf(&buf, "^%s", private);
string_list_append_nodup(&revlist_args,