summaryrefslogtreecommitdiffstats
path: root/gitremote-helpers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gitremote-helpers.txt')
-rw-r--r--gitremote-helpers.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/gitremote-helpers.txt b/gitremote-helpers.txt
index 6f1e269ae..ed8da428c 100644
--- a/gitremote-helpers.txt
+++ b/gitremote-helpers.txt
@@ -168,6 +168,9 @@ Supported commands: 'list', 'import'.
Can guarantee that when a clone is requested, the received
pack is self contained and is connected.
+'get'::
+ Can use the 'get' command to download a file from a given URI.
+
If a helper advertises 'connect', Git will use it if possible and
fall back to another capability if the helper requests so when
connecting (see the 'connect' command under COMMANDS).
@@ -418,6 +421,12 @@ Supported if the helper has the "connect" capability.
+
Supported if the helper has the "stateless-connect" capability.
+'get' <uri> <path>::
+ Downloads the file from the given `<uri>` to the given `<path>`. If
+ `<path>.temp` exists, then Git assumes that the `.temp` file is a
+ partial download from a previous attempt and will resume the
+ download from that position.
+
If a fatal error occurs, the program writes the error message to
stderr and exits. The caller should expect that a suitable error
message has been printed if the child closes the connection without