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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 01, 2010 at 08:36:33PM +0200, Michael J Gruber wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]