X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=51814b5da3064b617fa268a6b2bc6b3d6cb0b110;hb=3bb8d69cddbcad4bd4ae3d1281c42c1aeb297355;hp=4ff21ad28d89c6a4fc39628d358662bc7790ffde;hpb=1020fbc2485d6c1c144d321b68fcf37269e67917;p=git.git diff --git a/transport.c b/transport.c index 4ff21ad28..51814b5da 100644 --- a/transport.c +++ b/transport.c @@ -1026,8 +1026,8 @@ int transport_push(struct transport *transport, if (flags & TRANSPORT_PUSH_MIRROR) match_flags |= MATCH_REFS_MIRROR; - if (match_refs(local_refs, &remote_refs, - refspec_nr, refspec, match_flags)) { + if (match_push_refs(local_refs, &remote_refs, + refspec_nr, refspec, match_flags)) { return -1; }