]> git.ipfire.org Git - thirdparty/git.git/commit
http-fetch: invoke trace2_cmd_name()
authorJonathan Tan <jonathantanmy@google.com>
Mon, 12 Dec 2022 22:46:30 +0000 (14:46 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Dec 2022 01:43:07 +0000 (10:43 +0900)
commit7abb43cbc84c874b118e9cf22cd80d346dda171d
tree950efbbda3e22a83e30473e4d81239fd9dd1306f
parentc48035d29b4e524aed3a32f0403676f0d9128863
http-fetch: invoke trace2_cmd_name()

ee4512ed48 ("trace2: create new combined trace facility", 2019-02-
22) introduced trace2_cmd_name() and taught both the Git built-ins and
some non-built-ins to use it. However, http-fetch was not one of them
(perhaps due to its low usage at the time).

Teach http-fetch to invoke this function. After this patch, this
function will be invoked right after argument parsing, just like in
remote-curl.c.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-fetch.c