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

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

 



From: "Felipe Contreras" <felipe.contreras@xxxxxxxxx>
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(-)

--

--
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]