diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-08-09 16:11:39 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-11 00:07:37 +0300 |
commit | b5624a44744d6e5f9c749e4df02932c724e2097e (patch) | |
tree | 550bb596d7bb2c39621d2d99aa7d7007b98a203b /bundle-uri.h | |
parent | 6a475b71f8c4ce708d69fdc9317aefbde3769e25 (diff) |
remote-curl: add 'get' capability
A future change will want a way to download a file over HTTP(S) using
the simplest of download mechanisms. We do not want to assume that the
server on the other side understands anything about the Git protocol but
could be a simple static web server.
Create the new 'get' capability for the remote helpers which advertises
that the 'get' command is avalable. A caller can send a line containing
'get <url> <path>' to download the file at <url> into the file at
<path>.
Reviewed-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle-uri.h')
0 files changed, 0 insertions, 0 deletions