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
next
Junio C Hamano 2026-05-24 19:10:07 +09:00
commit 293561cbc5
1 changed files with 1 additions and 1 deletions

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,