Merge branch 'cc/tests-without-assuming-ref-files-backend'
[gitweb.git] / builtin / push.c
index ef42979d1e399007fbaf74c1972a21931200a4b1..9cd8e8cd5631158e0904826567f2d3c02bca2bda 100644 (file)
@@ -355,8 +355,7 @@ static int push_with_options(struct transport *transport, struct refspec *rs,
 
        if (verbosity > 0)
                fprintf(stderr, _("Pushing to %s\n"), transport->url);
-       err = transport_push(transport, rs->raw_nr, rs->raw, flags,
-                            &reject_reasons);
+       err = transport_push(transport, rs, flags, &reject_reasons);
        if (err != 0) {
                fprintf(stderr, "%s", push_get_color(PUSH_COLOR_ERROR));
                error(_("failed to push some refs to '%s'"), transport->url);