Re: [PATCHv2 4/5] branch: introduce --list option
- From
Jeff King <peff@peff.net>
- Date
- Sep 7, 2011, 19:56 UTC
- Message-ID
- <20110907195611.GD13364@sigill.intra.peff.net>
- In-Reply-To
- <4E5A5290.4050005@drmicha.warpmail.net>
On Sun, Aug 28, 2011 at 04:37:04PM +0200, Michael J Gruber wrote:
> Currently, "-m -d" is forbidden", but "-m -v" is "-m", same for "-d -v". > Do we want to keep it like that? Probably. I'll add the tests to 4/5.
Yes, I think so. "-v" just means "be more verbose"; the fact that there is currently nothing to be more verbose about with "-m" and "-d" is irrelevant.
It does make me a little nervous about the "'git branch -v' automatically means 'git branch --list -v'" patch, though. It closes the door in the future to us being more or less verbose about branch creation details (and while helpful, it creates a slight inconsistency in the interface).
If we are adding "-l" anyway, is it really necessary? It's not much harder to do "git branch -lv" once that is in place.
-Peff