fetch: generate ref-prefixes when using a configured refspec
[gitweb.git] / http-push.c
index a724ef03f9caa292f610a5e93d9ed7331fb53b96..ea5af6227e075389417b4f541b3cfbe3041bb354 100644 (file)
@@ -1823,8 +1823,7 @@ int cmd_main(int argc, const char **argv)
        }
 
        /* match them up */
-       if (match_push_refs(local_refs, &remote_refs,
-                           rs.raw_nr, rs.raw, push_all)) {
+       if (match_push_refs(local_refs, &remote_refs, &rs, push_all)) {
                rc = -1;
                goto cleanup;
        }