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:
Junio C Hamano
2026-05-24 19:10:07 +09:00

View File

@@ -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,