fetch --all: pass --tags/--no-tags through to each remote
authorDan Johnson <computerdruid@gmail.com>
Wed, 5 Sep 2012 21:22:19 +0000 (17:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Sep 2012 17:01:35 +0000 (10:01 -0700)
commit85566460897ee76555a7c90a951fe2d50272eb5e
treebdb819f0c49f17d4f33a38bcd3de518be99a8a09
parent50d89ad6542c8acafefa6d42f8b42dfa9b8fafe1
fetch --all: pass --tags/--no-tags through to each remote

When fetch is invoked with --all, we need to pass the tag-following
preference to each individual fetch; without this, we will always
auto-follow tags, preventing us from fetching the remote tags into a
remote-specific namespace, for example.

Reported-by: Oswald Buddenhagen <ossi@kde.org>
Signed-off-by: Dan Johnson <ComputerDruid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
t/t5514-fetch-multiple.sh