From: Junio C Hamano Date: Mon, 16 Jul 2012 17:49:26 GMT Subject: Re: [PATCH 1/2] refs: disallow ref components starting with hyphen Message-ID: <7vpq7v38bd.fsf@alter.siamese.dyndns.org> In-Reply-To: <7v7gu34ow0.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Michael Schubert writes: > >> Currently, we allow refname components to start with a hyphen. There's >> no good reason to do so... > > That is way too weak as a justification to potentially break > existing repositories. > > Refusal upon attempted creation is probably OK, which is why the two > checks you removed in your patches are fine. Just to clarify, I meant that the existing checks were OK because they were meant to prevent creation. I didn't mean removal of them was OK.