diff --git a/remote.c b/remote.c index ca1f8f2eaf..f065603c5d 100644 --- a/remote.c +++ b/remote.c @@ -1227,9 +1227,6 @@ int match_push_refs(struct ref *src, struct ref **dst, const struct refspec *pat = NULL; char *dst_name; - if (ref->peer_ref) - continue; - dst_name = get_ref_match(rs, nr_refspec, ref, send_mirror, FROM_SRC, &pat); if (!dst_name) continue;