aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorSam Delmerico <delmerico@google.com>2024-01-03 14:40:54 -0800
committerJunio C Hamano <gitster@pobox.com>2024-01-03 15:32:44 -0800
commitee9895b0ff0475c4883234a9004f02b19065cd12 (patch)
tree6e8c6bd6179c861c4ed442d408002c0288297c6f /fetch-pack.c
parentec583449067bab5b800ecc63926f35c9dae96fa1 (diff)
downloadgit-ee9895b0ff0475c4883234a9004f02b19065cd12.tar.gz
push: region_leave trace for negotiate_using_fetch
There were two region_enter events for negotiate_using_fetch instead of one enter and one leave. This commit replaces the second region_enter event with a region_leave. Signed-off-by: Sam Delmerico <delmerico@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.c')
-rw-r--r--fetch-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-pack.c b/fetch-pack.c
index 998fc2fa1e..1458883df7 100644
--- a/fetch-pack.c
+++ b/fetch-pack.c
@@ -2207,7 +2207,7 @@ void negotiate_using_fetch(const struct oid_array *negotiation_tips,
the_repository, "%d",
negotiation_round);
}
- trace2_region_enter("fetch-pack", "negotiate_using_fetch", the_repository);
+ trace2_region_leave("fetch-pack", "negotiate_using_fetch", the_repository);
trace2_data_intmax("negotiate_using_fetch", the_repository,
"total_rounds", negotiation_round);
clear_common_flag(acked_commits);