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

From: Michael J Gruber <[email-masked]>
Date: Sat, 01 May 2010 21:47:49 +0200

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 ;)

Michael