summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2020-08-17 21:01:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-18 13:25:05 -0700
commit2b713c272cd8f9dc70ad746e8ba01a93d8baa023 (patch)
treebd050f6038a99145d8da0d3321def8bee6394e67 /Documentation
parentnegotiator/noop: add noop fetch negotiator (diff)
downloadtgif-2b713c272cd8f9dc70ad746e8ba01a93d8baa023.tar.xz
fetch: allow refspecs specified through stdin
In a subsequent patch, partial clones will be taught to fetch missing objects using a "git fetch" subprocess. Because the number of objects fetched may be too numerous to fit on the command line, teach "fetch" to accept refspecs passed through stdin. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-fetch.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt
index 45b6d8e633..9067c2079e 100644
--- a/Documentation/git-fetch.txt
+++ b/Documentation/git-fetch.txt
@@ -48,6 +48,10 @@ include::fetch-options.txt[]
include::pull-fetch-param.txt[]
+--stdin::
+ Read refspecs, one per line, from stdin in addition to those provided
+ as arguments. The "tag <name>" format is not supported.
+
include::urls-remotes.txt[]