rename "match_refs()" to "match_push_refs()"
[gitweb.git] / http-push.c
index 376331a76fcde24e6828eba0b88fec26d93fe56f..02f46a538b040d387a0840c4f0735ae289a2c4be 100644 (file)
@@ -1877,8 +1877,8 @@ int main(int argc, char **argv)
        }
 
        /* match them up */
-       if (match_refs(local_refs, &remote_refs,
-                      nr_refspec, (const char **) refspec, push_all)) {
+       if (match_push_refs(local_refs, &remote_refs,
+                           nr_refspec, (const char **) refspec, push_all)) {
                rc = -1;
                goto cleanup;
        }