diff options
author | Björn Gustavsson <bgustavsson@gmail.com> | 2009-11-09 21:10:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-10 01:01:07 -0800 |
commit | 16679e373fa85a75c85e6e3b4ae5cd58a89a4114 (patch) | |
tree | 524b0c7624e007c36d00d837484eae17e6a80eb5 /Documentation/fetch-options.txt | |
parent | 9c4a036b34acef63ab754f0e27e5e54bd9d9a210 (diff) | |
download | git-16679e373fa85a75c85e6e3b4ae5cd58a89a4114.tar.gz |
Teach the --multiple option to 'git fetch'
Add the --multiple option to specify that all arguments are either
groups or remotes. The primary reason for adding this option is
to allow us to re-implement 'git remote update' using fetch.
It would have been nice if this option was not needed, but since
the colon in a refspec is optional, it is in general not possible
to know whether a single, colon-less argument is a remote or a
refspec.
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fetch-options.txt')
-rw-r--r-- | Documentation/fetch-options.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index 93d73c3eea..8b0cf58196 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -24,6 +24,12 @@ --keep:: Keep downloaded pack. +ifndef::git-pull[] +--multiple:: + Allow several <repository> and <group> arguments to be + specified. No <refspec>s may be specified. +endif::git-pull[] + ifdef::git-pull[] --no-tags:: endif::git-pull[] |