remote: fix "update [group...]"
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 4 Mar 2008 11:23:53 +0000 (11:23 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Mar 2008 20:17:39 +0000 (12:17 -0800)
commit84521ed6f2ccfd8dfe001806f83bb28e6a8934be
tree38bd649a66c8a3aa6cc9ccf8b0189d4cd0273e08
parent6217367859e92aa0bd67f02162d1f53e290e15e8
remote: fix "update [group...]"

The rewrite in C inadvertently broke updating with remote groups: when you
pass parameters to "git remote update", it used to look up "remotes.<group>"
for every parameter, and interpret the value as a list of remotes to update.

Also, no parameter, or a single parameter "default" should update all
remotes that have not been marked with "skipDefaultUpdate".

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c
t/t5505-remote.sh