author | Björn Gustavsson <bgustavsson@gmail.com> | |
Mon, 9 Nov 2009 20:10:32 +0000 (21:10 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 10 Nov 2009 09:01:07 +0000 (01:01 -0800) | ||
commit | 16679e373fa85a75c85e6e3b4ae5cd58a89a4114 | |
tree | 524b0c7624e007c36d00d837484eae17e6a80eb5 | tree | snapshot |
parent | 9c4a036b34acef63ab754f0e27e5e54bd9d9a210 | commit | diff |
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>
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>
Documentation/fetch-options.txt | diff | blob | history | |
Documentation/git-fetch.txt | diff | blob | history | |
builtin-fetch.c | diff | blob | history | |
t/t5514-fetch-multiple.sh | diff | blob | history |