diff options
Diffstat (limited to 'builtin/push.c')
-rw-r--r-- | builtin/push.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/push.c b/builtin/push.c index 8bb8a0849b..ee1e842027 100644 --- a/builtin/push.c +++ b/builtin/push.c @@ -355,7 +355,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); |