diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-15 13:48:03 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-15 13:48:03 +0900 |
commit | 3b9ec279191b70e9e5ecde15910991f7c5669a17 (patch) | |
tree | 2b8741466c7e6a6d4b26ef008d8bed94ce00321e /builtin/push.c | |
parent | Merge branch 'jt/push-avoid-lazy-fetch' (diff) | |
parent | transport: push codepath can take arbitrary repository (diff) | |
download | tgif-3b9ec279191b70e9e5ecde15910991f7c5669a17.tar.xz |
Merge branch 'js/trace2-fetch-push'
Dev support.
* js/trace2-fetch-push:
transport: push codepath can take arbitrary repository
push: add trace2 instrumentation
fetch: add trace2 instrumentation
Diffstat (limited to 'builtin/push.c')
-rw-r--r-- | builtin/push.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/push.c b/builtin/push.c index 8729b031ff..843f5b22a2 100644 --- a/builtin/push.c +++ b/builtin/push.c @@ -357,8 +357,10 @@ static int push_with_options(struct transport *transport, struct refspec *rs, if (verbosity > 0) fprintf(stderr, _("Pushing to %s\n"), transport->url); + trace2_region_enter("push", "transport_push", the_repository); err = transport_push(the_repository, transport, rs, flags, &reject_reasons); + trace2_region_leave("push", "transport_push", the_repository); if (err != 0) { fprintf(stderr, "%s", push_get_color(PUSH_COLOR_ERROR)); error(_("failed to push some refs to '%s'"), transport->url); |