summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-04-24 14:40:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-24 14:40:51 -0700
commit77cab8af4ad6c25995e40a5ababc7a17dc369fe0 (patch)
tree5658750a7e8772b77d73f0a115c2cd55fdbb8f7a /Documentation
parentMerge branch 'pw/fast-import-dataref-parsing' (diff)
parentremote-curl: main test case for the OS command line overflow (diff)
downloadtgif-77cab8af4ad6c25995e40a5ababc7a17dc369fe0.tar.xz
Merge branch 'it/fetch-pack-many-refs'
When "git fetch" encounters repositories with too many references, the command line of "fetch-pack" that is run by a helper e.g. remote-curl, may fail to hold all of them. Now such an internal invocation can feed the references through the standard input of "fetch-pack". By Ivan Todoroski * it/fetch-pack-many-refs: remote-curl: main test case for the OS command line overflow fetch-pack: test cases for the new --stdin option remote-curl: send the refs to fetch-pack on stdin fetch-pack: new --stdin option to read refs from stdin
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-fetch-pack.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
index ed1bdaacd1..474fa307a0 100644
--- a/Documentation/git-fetch-pack.txt
+++ b/Documentation/git-fetch-pack.txt
@@ -32,6 +32,16 @@ OPTIONS
--all::
Fetch all remote refs.
+--stdin::
+ Take the list of refs from stdin, one per line. If there
+ are refs specified on the command line in addition to this
+ option, then the refs from stdin are processed after those
+ on the command line.
++
+If '--stateless-rpc' is specified together with this option then
+the list of refs must be in packet format (pkt-line). Each ref must
+be in a separate packet, and the list must end with a flush packet.
+
-q::
--quiet::
Pass '-q' flag to 'git unpack-objects'; this makes the