mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-10 22:15:04 -05:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
3198237bf3
commit
abcf2dd5b2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user