diff options
Diffstat (limited to 'man7/gitremote-helpers.7')
-rw-r--r-- | man7/gitremote-helpers.7 | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/man7/gitremote-helpers.7 b/man7/gitremote-helpers.7 index 267dfe2ee..60be8033a 100644 --- a/man7/gitremote-helpers.7 +++ b/man7/gitremote-helpers.7 @@ -2,12 +2,12 @@ .\" Title: gitremote-helpers .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 08/30/2022 +.\" Date: 09/01/2022 .\" Manual: Git Manual -.\" Source: Git 2.37.3.446.gd42b38dfb5 +.\" Source: Git 2.37.3.485.gbe1a02a17e .\" Language: English .\" -.TH "GITREMOTE\-HELPERS" "7" "08/30/2022" "Git 2\&.37\&.3\&.446\&.gd42b38" "Git Manual" +.TH "GITREMOTE\-HELPERS" "7" "09/01/2022" "Git 2\&.37\&.3\&.485\&.gbe1a02" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -167,6 +167,13 @@ Supported commands: .RS 4 Can guarantee that when a clone is requested, the received pack is self contained and is connected\&. .RE +.PP +\fIget\fR +.RS 4 +Can use the +\fIget\fR +command to download a file from a given URI\&. +.RE .sp If a helper advertises \fIconnect\fR, Git will use it if possible and fall back to another capability if the helper requests so when connecting (see the \fIconnect\fR command under COMMANDS)\&. When choosing between \fIfetch\fR and \fIimport\fR, Git prefers \fIfetch\fR\&. Other frontends may have some other order of preference\&. .RE @@ -439,6 +446,18 @@ Experimental; for internal use only\&. Connects to the given remote service for .sp Supported if the helper has the "stateless\-connect" capability\&. .RE +.PP +\fIget\fR <uri> <path> +.RS 4 +Downloads the file from the given +\fB<uri>\fR +to the given +\fB<path>\fR\&. If +\fB<path>\&.temp\fR +exists, then Git assumes that the +\fB\&.temp\fR +file is a partial download from a previous attempt and will resume the download from that position\&. +.RE .sp 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 completing a valid response for the current command\&. .sp |