Git 1.7.8.1
[gitweb.git] / transport.c
index 4ff21ad28d89c6a4fc39628d358662bc7790ffde..51814b5da3064b617fa268a6b2bc6b3d6cb0b110 100644 (file)
@@ -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;
                }