Re: [PATCH/alternative/raw and rough] setup.c: denote repo wide pathspecs by ':'
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 2, 2011, 00:12 UTC
- Message-ID
- <AANLkTim2HmBEQv=buRG7-87+c99FnsxXUTQzKy__azfM@mail.gmail.com>
- In-Reply-To
- <4D6CD593.2090705@drmicha.warpmail.net>
On Tue, Mar 1, 2011 at 6:16 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 21 quoted lines
> Nguyen Thai Ngoc Duy venit, vidit, dixit 01.03.2011 12:13: >> 2011/3/1 Michael J Gruber <git@drmicha.warpmail.net>: >>> Introduce a leading ':' as the notation for repo-wide pathspecs. >>> >>> This is in line with our treeish:path notation which defaults to >>> repowide paths. >>> >>> Heck: Even ':./path' works for pathspecs, and I have no clue why! >> >> If you are going to turn pathspecs into something more complex, >> reserve room for future extension. I have negative pathspecs that can >> utilize it. >> >> I take it, from now on people must refer file name ':foo' as './:foo' >> with your patch? > > That is up for discussion, of course. When discussing a new approach for > file mode dependent attributes, I was hoping to get through with > symlink:path, and did not. But it was decided that something like > :symlink:path would be good enough, in the sense of avoiding enough > possible conflicts. That made me hope that :path would be, too.
Good morning! I'm saner now. How about :/path? That would reserve anything next to ':' except '/'.
-- Duy