]> git.ipfire.org Git - thirdparty/git.git/commit
http-backend: new rpc-service for git-upload-archive
authorJiang Xin <zhiyou.jx@alibaba-inc.com>
Sun, 21 Jan 2024 13:15:36 +0000 (21:15 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jan 2024 15:54:37 +0000 (07:54 -0800)
commit24f275ab33cd06f399a87a8384443e74da5f3545
treec13001bfaf8c313d75ba3411a71bd3c6bffbcc6d
parent5c858368966f71ffeba78e2fa9aaecec02050f3c
http-backend: new rpc-service for git-upload-archive

Add new rpc-service "upload-archive" in http-backend to add server side
support for remote archive over HTTP/HTTPS protocols.

Also add new test cases in t5003. In the test case "archive remote http
repository", git-archive exits with a non-0 exit code even though we
create the archive correctly. It will be fixed in a later commit.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c
t/t5003-archive-zip.sh