fetch tests: test --prune and refspec interaction
commit6fb23f56c16c0981a2f7b46f53ac3af12b247996
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 9 Feb 2018 20:32:07 +0000 (9 20:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Feb 2018 21:10:12 +0000 (9 13:10 -0800)
tree194a2f7f13a7e1363dce7e415157b1fd620f0876
parentca3065e7e7bcb406043f8202ef672f884eeb925d
fetch tests: test --prune and refspec interaction

Add a test for the interaction between explicitly provided refspecs
and fetch.prune.

There's no point in adding this boilerplate to every combination of
unset/false/true, it's instructive and sufficient to show that no
matter if the variable is unset, false or true the refspec on the
command-line overrides any configuration variable.

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