aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-01 21:12:36 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-01 21:12:36 -0700
commitcda03b6ad3e685ebf8349597afd71553a3ebb3a4 (patch)
tree7a8192c935d2672551d58302b17985814ce7ce5d /Documentation
parent17f695b479546c691f797a5f1d153fbb3010fb2f (diff)
parent7103d2543ad138bd9df672cdc94cc070dd7417d8 (diff)
downloadgit-cda03b6ad3e685ebf8349597afd71553a3ebb3a4.tar.gz
git-cda03b6ad3e685ebf8349597afd71553a3ebb3a4.tar.xz
Merge branch 'it/fetch-pack-many-refs' into maint
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 Conflicts: t/t5500-fetch-pack.sh
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 ed1bdaacd..474fa307a 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