From: Junio C Hamano Date: Tue, 12 Dec 2006 01:11:24 GMT Subject: Re: [PATCH] Colourise git-branch output Message-ID: <7v7iwx2a0z.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Sean writes: > On Mon, 11 Dec 2006 22:10:08 +0000 > Andy Parkins wrote: > >> +int git_branch_config(const char *var, const char *value) >> +{ >> + if (!strcmp(var, "branch.color")) { >> + branch_use_color = git_config_colorbool(var, value); >> + return 0; >> + } >> + return git_default_config(var, value); >> +} > > As Junio already highlighted, the "branch.*" namespace is for actual > branch names. This config option should go into "color.branch" or some > other spot. I didn't. And "branch.color = auto" is actually fine. The problematic case is "branch.color.remote = purple".