On Sun, 16 Mar 2008, Junio C Hamano wrote: > Daniel Barkalow <barkalow@xxxxxxxxxxxx> writes: > > > We don't currently have any concept of an invalid refspec; > > We don't? or just that parse_ref_spec() does not detect one? > > > ... 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* -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html