]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/fetch-options.txt
Teach the --multiple option to 'git fetch'
authorBjörn Gustavsson <bgustavsson@gmail.com>
Mon, 9 Nov 2009 20:10:32 +0000 (21:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Nov 2009 09:01:07 +0000 (01:01 -0800)
commit16679e373fa85a75c85e6e3b4ae5cd58a89a4114
tree524b0c7624e007c36d00d837484eae17e6a80eb5
parent9c4a036b34acef63ab754f0e27e5e54bd9d9a210
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>
Documentation/fetch-options.txt
Documentation/git-fetch.txt
builtin-fetch.c
t/t5514-fetch-multiple.sh