Re: [PATCH] pathspec: reserve some letters after a colon pathspec
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 24, 2011, 08:12 UTC
- Message-ID
- <7vsjud9bso.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <AANLkTinjdi3+qcQxcBYj8SdQgbZYP=KiLwxM3Vq0c1Er@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 5 quoted lines
> And maybe: > > . ':' to reach the superproject if user's inside a subproject. So > '::/foo' means foo at superproject while ':/foo' means foo in the > current project, both at root.
A magic with that meaning may be fine (or may be not---I don't care too much about "because we could" at this point), but if you are going to use ':' as the magic introducer, you cannot use ':' as one of the magic signatures, as it would make it ambiguous when you said '::'. Did you write a long-form with 0 spelled-out magic (perhaps to defeat some other future settings like --option or config)? Or did you mean that magic signature?