Message ID | e7f63482606c23e31f9a26fd890dd28c1952a599.1705841443.git.zhiyou.jx@alibaba-inc.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5c858368966f71ffeba78e2fa9aaecec02050f3c |
Headers | show |
Series | support remote archive via stateless transport | expand |
diff --git a/transport-helper.c b/transport-helper.c index 2e127d24a5..6fe9f4f208 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -628,7 +628,8 @@ static int process_connect_service(struct transport *transport, ret = run_connect(transport, &cmdbuf); } else if (data->stateless_connect && (get_protocol_version_config() == protocol_v2) && - !strcmp("git-upload-pack", name)) { + (!strcmp("git-upload-pack", name) || + !strcmp("git-upload-archive", name))) { strbuf_addf(&cmdbuf, "stateless-connect %s\n", name); ret = run_connect(transport, &cmdbuf); if (ret)