Re: [PATCH 0/2] branch: improve verbose option
- From
Philip Oakley <philipoakley@iee.org>
- Date
- Aug 31, 2013, 14:41 UTC
- Message-ID
- <CD323DA08A0540A89D9BFB28F541AFB4@PhilipOakley>
- In-Reply-To
- <1377903583-3550-1-git-send-email-felipe.contreras@gmail.com>
From: "Felipe Contreras" <felipe.contreras@gmail.com> Sent: Friday, August 30, 2013 11:59 PM
Show 12 quoted lines
> Hi, > > This has been discussed before: > > http://thread.gmane.org/gmane.comp.version-control.git/224489 > > but in the spirit of the perfect being the enemy of the good, nothing > got done. > > This series makes 'git branch -v' much faster, and gives us the most > important > information; the configured upstream tracking branch.
Yes, It's someting I often want reminding of (which origin server, which master?, ..etc.) always appear to start here.
> Showing ahead/behind is > not as important,
I still find this useful - if it's up to date I don't need reminding of which remote / upstream tracking branch it's configured against ;-)
These two bits of information, while related are separate. If anything I think I'd prefer both, but then again optimisations are still good.
Bikeshedding ends.
Philip
Show 16 quoted lines
> specially considering that currently 'git branch -v' doesn't > show the branch we are comparing the ahead/behind to. > > Strictly speaking it's a regression, but nobody would complain, and if > somebody > does, it should be easy to revert if needed. > > Felipe Contreras (2): > branch: trivial cleanup > branch: reorganize verbose options > > builtin/branch.c | 33 +++++++++++++++------------------ > t/t6040-tracking-info.sh | 8 ++++---- > 2 files changed, 19 insertions(+), 22 deletions(-) > > --