Re: [PATCH] Colourise git-branch output
Sean <seanlkml@sympatico.ca> writes:
Show 15 quoted lines
> On Mon, 11 Dec 2006 22:10:08 +0000
> Andy Parkins <andyparkins@gmail.com> 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".