summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Petr Baudis <pasky@suse.cz>2006-07-27 23:56:19 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-27 19:33:48 -0700
commit8e87ca661513d9f4b737295b234e93767cd2ee0c (patch)
treec757f0a8288533617c3ef5d1f31570fbd7e561c0 /Documentation
parentMake pull() support fetching multiple targets at once (diff)
downloadtgif-8e87ca661513d9f4b737295b234e93767cd2ee0c.tar.xz
Teach git-local-fetch the --stdin switch
This makes it possible to fetch many commits (refs) at once, greatly speeding up cg-clone. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-local-fetch.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-local-fetch.txt b/Documentation/git-local-fetch.txt
index 87abec1c4e..2fbdfe086a 100644
--- a/Documentation/git-local-fetch.txt
+++ b/Documentation/git-local-fetch.txt
@@ -29,6 +29,12 @@ OPTIONS
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
the local end after the transfer is complete.
+--stdin::
+ Instead of a commit id on the commandline (which is not expected in this
+ case), 'git-local-fetch' expects lines on stdin in the format
+
+ <commit-id>['\t'<filename-as-in--w>]
+
Author
------
Written by Junio C Hamano <junkio@cox.net>