From: Nguyen Thai Ngoc Duy Date: Thu, 09 Dec 2010 01:42:51 GMT Subject: Re: [PATCH 0/2] [RFD] Using gitrevisions :/search style with other operators Message-ID: In-Reply-To: <201012090144.19858.jnareb@gmail.com> On Thu, Dec 9, 2010 at 7:44 AM, Jakub Narebski wrote: > On Thu, 9 Dec 2010, Nguyen Thai Ngoc Duy wrote: >> 2010/12/9 Jakub Narebski : > >> > I wonder if it would be possible to make :/ (which looks a bit >> > like searching the index) to be an alias to --all^{/}... >> >> It looks a bit strange to my eyes to merge normal option name with >> revision syntax. But I think it's possible. Do we allow branch/tag >> name with leading '-'? > > Well, with below proposal it would simply be > >  --all ^{/} This hardly works with range and may conflict with "--all" being already used by some commands. I think we can move '/' out of {}, the space between '/' and '{' can be used for optional parameters: ^/{foo}. -- Duy