builtin/name-rev: make hash-size independent
[gitweb.git] / builtin / push.c
index 759812d1d5de5d22a2f26bef776c13b88af2d325..021dd3b1e48979086de68a434d4eddbbeb074df3 100644 (file)
@@ -357,7 +357,8 @@ 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, flags, &reject_reasons);
+       err = transport_push(the_repository, 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);