On Sun, 16 Mar 2008, Junio C Hamano wrote:
Daniel Barkalow [off-list ref] writes:
quoted
We don't currently have any concept of an invalid refspec;
We don't? or just that parse_ref_spec() does not detect one?
quoted
... we just have
things that fall back to not being patterns and not being possible to
match (due to one or the other side being invalid as a ref name).
I am afraid that is an invitation for more bugs and confusions.
Yeah, we're definitely too lenient. t3200-branch has been using the
refspec "=" since July without anybody noticing that it's wrong.
-Daniel
*This .sig left intentionally blank*