Re: [RFD PATCH] revlist/rev-parse: Introduce --heads and --locals revision specifiers
- From
Jeff King <peff@peff.net>
- Date
- May 2, 2010, 05:00 UTC
- Message-ID
- <20100502050054.GE14776@coredump.intra.peff.net>
- In-Reply-To
- <83fc6259c434cc63f8e64ddf9ac8f90bae0ab2eb.1272557175.git.git@drmicha.warpmail.net>
On Sat, May 01, 2010 at 08:36:33PM +0200, Michael J Gruber wrote:
Show 9 quoted lines
> 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
I don't have anything against the concept, but "--heads" is a horrible name, as it implies refs/heads (which is of course what --branches does. Yikes!). I know why you picked it, and once you think about it, yes, it does make some sense (it is all the local and remote heads), but I am worried that it will cause confusion.
-Peff