Re: [RFC/PATCH] show tracking branches with their associated branch names
- From
- Santhosh Kumar Mani <santhoshmani@gmail.com>
- Date
- Dec 10, 2011, 11:23 UTC
- Message-ID
- <1323516226.1698.80.camel@sdesktop>
- In-Reply-To
- <4EE32C1B.8070306@lyx.org>
On Sat, 2011-12-10 at 10:53 +0100, Vincent van Ravesteijn wrote:
Show 19 quoted lines
> Op 10-12-2011 8:40, Santhosh Kumar Mani schreef: > > The "git branch" command, by default, displays the local branches. There > > is no visual distinction made between the tracking branches and normal > > local branches. This patch enables the "git branch" to display > > tracking info for tracking branches: > > > > Before this patch: > > $ git branch > > * master > > local > > > > After this patch: > > $ git branch > > * master [origin/master] > > local > > > > > Did you try "git branch -vv" ? >
Yes. I did. It is too verbose as it meant to be.
This patch distinguishes between the tracking and non-tracking local branches.
I use a lot of tracking branches and they track different branches. I tend find this feature useful to know which branch tracks what.
Of course, I could get this information in different ways. But it makes sense to have this information displayed by default.
> Vincent
Regards, Santhosh.