From: Junio C Hamano Date: Mon, 11 Dec 2006 22:47:06 GMT Subject: Re: [PATCH] Colourise git-branch output Message-ID: <7vbqma1251.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200612112210.08327.andyparkins@gmail.com> Andy Parkins writes: > 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. Hmm. "git branch --color" does not seem to work, so is this config only? > As yet, there is no support for changing the colors using the > config file; but it wouldn't be hard to add. I am not sure about that. Would it be something like this? [branch.color] remote = purple local = yellow I wonder what would happen when you have a branch called "color". Would the above cause "git-fetch" to fetch from "purple" remote by default?