Subject: Re: [RFD PATCH] revlist/rev-parse: Introduce --heads and --locals revision specifiers

From: Jakub Narebski <[email-masked]>
Date: Sat, 1 May 2010 21:51:05 +0200

Michael J Gruber wrote:
> Jakub Narebski venit, vidit, dixit 01.05.2010 21:42:
>> Michael J Gruber <[email-masked]> writes:
>> 
>>> Due to the increasing usage of the ref namespace (e.g. notes, replace)
>>> the revision specifier "--all" becomes decreasingly useful. But
>>> "something like --all" is ineeded for getting a quick overview of
>>> the development state of a repository.
>>>
>>> Introduce --heads and --locals specifiers in order to help with that:
>>>
>>> --heads == HEAD --branches --remotes
>>> --locals = HEAD --branches --tags
>> 
>> Wouldn't new feature (introduced in 1.7.0) of --glob=<glob-pattern>
>> be enough?
>> 
> 
> You can already use the exact expressions which I wrote above
> ("--branches --tags" etc.). The point is to have short ones for the most
> useful cases.  And "--all" used to be useful.
> 
> It's just that we don't have aliases for rev notation ;)

Ah, sorry, I have misunderstood the goal of your change.

Seems like a good idea.

-- 
Jakub Narebski
Poland