1
0
mirror of https://github.com/git/git.git synced 2024-11-15 15:03:47 +01:00

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>
This commit is contained in:
Sam Delmerico 2024-01-03 14:40:54 -08:00 committed by Junio C Hamano
parent ec58344906
commit ee9895b0ff

@ -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);