Skip to content

Commit ee9895b

Browse files
stnma7egitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ec58344 commit ee9895b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fetch-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ void negotiate_using_fetch(const struct oid_array *negotiation_tips,
22072207
the_repository, "%d",
22082208
negotiation_round);
22092209
}
2210-
trace2_region_enter("fetch-pack", "negotiate_using_fetch", the_repository);
2210+
trace2_region_leave("fetch-pack", "negotiate_using_fetch", the_repository);
22112211
trace2_data_intmax("negotiate_using_fetch", the_repository,
22122212
"total_rounds", negotiation_round);
22132213
clear_common_flag(acked_commits);

0 commit comments

Comments
 (0)