On Tue, Apr 30, 2013 at 11:09 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Duy Nguyen <pclouds@xxxxxxxxx> writes: > >> It's not hard to do. The below patch makes "." equivalent to HEAD and >> ".U" -> "@{u}". Refs are not supposed to have '.' at the beginning, so >> it's easy ... > > How is the equivalent of master..@{u} expressed? master...U? How is > it disambiguated from a symmetric difference between master and U? > > There are reasons why some characters are forbidden from appearing > at certain places in refname component. Anybody who designs a new > syntax needs to think _why_. I figured it had something to do with hidden filenames, not "..". There's only one char left for ref alias, the leading forward slash. But than opens another can of worms.. We could put still ref aliases into the same ref namespace, with lower precedence that actual refs, so no new syntax required. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html