summaryrefslogtreecommitdiff
path: root/Documentation/git-local-fetch.txt
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-27 21:56:19 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-28 02:33:48 (GMT)
commit8e87ca661513d9f4b737295b234e93767cd2ee0c (patch)
treec757f0a8288533617c3ef5d1f31570fbd7e561c0 /Documentation/git-local-fetch.txt
parent4211e4d10cd98b1aeed97bdb6cdebb9411956bb5 (diff)
downloadgit-8e87ca661513d9f4b737295b234e93767cd2ee0c.zip
git-8e87ca661513d9f4b737295b234e93767cd2ee0c.tar.gz
git-8e87ca661513d9f4b737295b234e93767cd2ee0c.tar.bz2
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/git-local-fetch.txt')
-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 87abec1..2fbdfe0 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>