mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-11 08:30:32 -05:00
Merge branch 'jk/connect-service-enum' into next
The "name" argument in git_connect() and related functions has been converted to a "service" enum to improve type safety and clarify its purpose. * jk/connect-service-enum: transport-helper: fix typo in BUG() message
This commit is contained in:
@@ -630,7 +630,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