Re: On fetch refspecs and wildcards
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 16, 2008, 22:33 UTC
- Message-ID
- <7vve3mfgf2.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7v8x0igvdp.fsf_-_@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 6 quoted lines
> ... > 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; and
Clarification.
"s/;/, but do honor requests to copy one thing to multiple destinations;/" is what I meant here.
Show 7 quoted lines
> (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.