Re: On fetch refspecs and wildcards
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:23
Junio C Hamano [off-list ref] writes:
...
Fortunately or unfortunately, Documentation/pull-fetch-param.txt does not
talk about wildcard refspecs (not even the syntax, let alone the
semantics), so we can define whatever we want right now, and I think both
(1) allow duplicated destinations, including wildcard matches; andClarification. "s/;/, but do honor requests to copy one thing to multiple destinations;/" is what I meant here.
(2) refuse duplicated destinations for explicit ones, and more than
one wildcard patterns that match the same ref, but omit explicitly
specified ones from wildcard matches;
are viable options. I suspect the current code does not do either. We
should pick one semantics, make sure the implementation matches that, and
document it.