From: Daniel Barkalow Date: Mon, 17 Mar 2008 02:37:53 GMT Subject: Re: tracking repository Message-ID: In-Reply-To: <7vlk4ichm4.fsf@gitster.siamese.dyndns.org> On Sun, 16 Mar 2008, Junio C Hamano wrote: > Daniel Barkalow 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*