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 <ps@pks.im> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed May 22, 2026 at 00:43 UTC abcf2dd5b215ff7bad0bb44524f352cd352bda0f
1 file changed +1 -1
transport-helper.c
+1 -1
@@ -632,7 +632,7 @@ static const char *connect_service_cmd(enum git_connect_service service)
632 case GIT_CONNECT_UPLOAD_ARCHIVE:
633 return "git-upload-archive";
634 }
635 - BUG("unknown git_connect_type: %d", service);
635 + BUG("unknown git_connect_service: %d", service);
636 }
637
638 static int process_connect_service(struct transport *transport,