From: Junio C Hamano Date: Wed, 12 Oct 2005 05:29:45 GMT Subject: Re: [PATCH] git-fetch --tags: deal with tags with spaces in them. Message-ID: <7vk6gjl2uu.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vzmpgy4g4.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > We cannot still do arbitrary reference names, but at least now > we allow spaces in them. But I am not sure if this is a good > change. > > Do we in general want to support references with [^-a-zA-Z0-9.] > in them? Most notably spaces? > > Opinions? Here is mine. I do not personally think it is too much of a restriction if we said we only allow tags using letters from [-a-zA-Z0-9.] (yes I am trying to be controversial by not allowing even latin-1 names). Even without going that far, if we just said we do not allow shell metacharacters in tagnames (i.e. assuming UTF-8 encoded pathnames, non-ascii part of unicode character space is allowed), I suspect things will get much simpler to handle. The troublesome tags Martin's repository had were autocreated with cvsimport. That is something we could easily fix (I think we already do certain tagname munging).