From: Jakub Narebski Date: Thu, 09 Dec 2010 00:44:18 GMT Subject: Re: [PATCH 0/2] [RFD] Using gitrevisions :/search style with other operators Message-ID: <201012090144.19858.jnareb@gmail.com> In-Reply-To: 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 ^{/} > > Or if we can make ^{/} to act on revision range specified by > > earlier commits, so for example foo..bar^{/} would work. > > There is another case: branch/tag selection. Instead of looking in all > refs, people may want to look only in nd/* branches. My branches are > almost flat, so I don't find any use. But someone might. And we can > solve the "all branches" case above with simply "*". The exact syntax, > I don't know. --glob=heads/nd/ ^{/} Similarly to the --all case. -- Jakub Narebski Poland