gitweb: Add a feature to show side-by-side diff
[gitweb.git] / http-push.c
index 5d01be93440cdb343379fe0b05ff9155727f125c..edd553b7f69ed92fde301966e605e7562703718a 100644 (file)
@@ -1869,8 +1869,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;
        }