Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: [PATCH 0/2] branch: improve verbose option

From: Philip Oakley <hidden>
Date: 2016-06-15 22:58:35

From: "Felipe Contreras" <redacted>
Sent: Friday, August 30, 2013 11:59 PM
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
   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(-)

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help