Re: [PATCH 1/2] refs: disallow ref components starting with hyphen
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 16, 2012, 17:49 UTC
- Message-ID
- <7vpq7v38bd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <7v7gu34ow0.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 10 quoted lines
> Michael Schubert <mschub@elegosoft.com> 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.