Re: [PATCH v2 6/7] check_ref_format(): tighten refname rules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 23, 2009, 16:03 UTC
- Message-ID
- <7vd4c86xb5.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20090323135901.GB9732@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 7 quoted lines
> Junio C Hamano <gitster@pobox.com> wrote:
>> This changes the rules for refnames to forbid:
>>
>> (1) a refname that contains "@{" in it.
>> (2) a refname that ends with a dot.
>
> How about also "that end in .lock" ?Yeah, people can add more as follow-up patches. The primary purpose of this series is to clean-up places that the new %name notation (or ~name or whatever) needs to hook into.