distinguish error versus short read from read_in_full()
[git.git] / Documentation / git-upload-pack.txt
blob822ad593af973dd7a1217cffaef7106876d377c2
1 git-upload-pack(1)
2 ==================
4 NAME
5 ----
6 git-upload-pack - Send objects packed back to git-fetch-pack
9 SYNOPSIS
10 --------
11 [verse]
12 'git-upload-pack' [--[no-]strict] [--timeout=<n>] [--stateless-rpc]
13                   [--advertise-refs] <directory>
14 DESCRIPTION
15 -----------
16 Invoked by 'git fetch-pack', learns what
17 objects the other side is missing, and sends them after packing.
19 This command is usually not invoked directly by the end user.
20 The UI for the protocol is on the 'git fetch-pack' side, and the
21 program pair is meant to be used to pull updates from a remote
22 repository.  For push operations, see 'git send-pack'.
25 OPTIONS
26 -------
28 --[no-]strict::
29         Do not try <directory>/.git/ if <directory> is no Git directory.
31 --timeout=<n>::
32         Interrupt transfer after <n> seconds of inactivity.
34 --stateless-rpc::
35         Perform only a single read-write cycle with stdin and stdout.
36         This fits with the HTTP POST request processing model where
37         a program may read the request, write a response, and must exit.
39 --advertise-refs::
40         Only the initial ref advertisement is output, and the program exits
41         immediately. This fits with the HTTP GET request model, where
42         no request content is received but a response must be produced.
44 <directory>::
45         The repository to sync from.
47 SEE ALSO
48 --------
49 linkgit:gitnamespaces[7]
51 GIT
52 ---
53 Part of the linkgit:git[1] suite