Re: [PATCH] Colourise git-branch output
- From
Alex Riesen <fork0@t-online.de>
- Date
- Nov 3, 2006, 23:05 UTC
- Message-ID
- <20061103230524.GA4429@steel.home>
- In-Reply-To
- <7v3b908h88.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano, Fri, Nov 03, 2006 20:25:59 +0100:
Show 10 quoted lines
> > I wanted to have a visual indication of which branches are > > local and which are remote in git-branch -a output; however > > Junio was concerned that someone might be using the output in > > a script. This patch addresses the problem by colouring the > > git-branch output - which in "auto" mode won't be activated. > > Yuck. We are getting more and more color happy. As long as > this stays optional I'm Ok with it; we'll see if people find it > useful soon enough. >
As long as the output stays stable one can always colorize it with an external program, using pseudo terminals, if needed. Wont work for the other platform though. As usual.