fetch: make the --prune-tags work with <url>
commit6317972cff9b4df7a6cc666b08be7133ba81617c
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 9 Feb 2018 20:32:16 +0000 (9 20:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Feb 2018 21:10:13 +0000 (9 13:10 -0800)
treeacbb3ab75f127187d608c7fe9f1b07dc5334d7a8
parent97716d217c1ea00adfc64e4f6bb85c1236d661ff
fetch: make the --prune-tags work with <url>

Make the new --prune-tags option work properly when git-fetch is
invoked with a <url> parameter instead of a <remote name>
parameter.

This change is split off from the introduction of --prune-tags due to
the relative complexity of munging the incoming argv, which is easier
to review as a separate change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fetch.txt
builtin/fetch.c
t/t5510-fetch.sh