From: Jeff King Date: Fri, 22 May 2026 04:43:52 +0000 (-0400) Subject: transport-helper: fix typo in BUG() message X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=abcf2dd5b215ff7bad0bb44524f352cd352bda0f;p=thirdparty%2Fgit.git transport-helper: fix typo in BUG() message We mistakenly refer to the git_connect_service enum as "_type" rather than "_service". Users should never see this message in practice, but it is slightly confusing when reading the code. Reported-by: Patrick Steinhardt Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/transport-helper.c b/transport-helper.c index 826b35ac8c..abec428861 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -632,7 +632,7 @@ static const char *connect_service_cmd(enum git_connect_service service) case GIT_CONNECT_UPLOAD_ARCHIVE: return "git-upload-archive"; } - BUG("unknown git_connect_type: %d", service); + BUG("unknown git_connect_service: %d", service); } static int process_connect_service(struct transport *transport,