Re: [RFD PATCH] revlist/rev-parse: Introduce --heads and --locals revision specifiers
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- May 1, 2010, 19:47 UTC
- Message-ID
- <4BDC8565.6050308@drmicha.warpmail.net>
- In-Reply-To
- <m3bpczcsup.fsf@localhost.localdomain>
Jakub Narebski venit, vidit, dixit 01.05.2010 21:42:
Show 15 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> 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