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>
Sam Delmerico committed
Jan 3, 2024 at 14:40 UTC
ee9895b0ff0475c4883234a9004f02b19065cd12
1 file changed
+1
-1
fetch-pack.c
+1
-1
@@ -2207,7 +2207,7 @@ void negotiate_using_fetch(const struct oid_array *negotiation_tips,
2207
the_repository, "%d",
2208
negotiation_round);
2209
}
2210
- trace2_region_enter("fetch-pack", "negotiate_using_fetch", the_repository);
2210
+ trace2_region_leave("fetch-pack", "negotiate_using_fetch", the_repository);
2211
trace2_data_intmax("negotiate_using_fetch", the_repository,
2212
"total_rounds", negotiation_round);
2213
clear_common_flag(acked_commits);