From: Junio C Hamano Date: Mon, 23 Mar 2009 16:03:42 GMT Subject: Re: [PATCH v2 6/7] check_ref_format(): tighten refname rules Message-ID: <7vd4c86xb5.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20090323135901.GB9732@spearce.org> "Shawn O. Pearce" writes: > Junio C Hamano 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.