Thread (3 messages) flat view 3 messages, 3 authors, 2016-08-11

Re: [PATCH] Colourise git-branch output

From: Junio C Hamano <hidden>
Date: 2016-08-11 19:42:06

Sean [off-list ref] writes:
On Mon, 11 Dec 2006 22:10:08 +0000
Andy Parkins [off-list ref] wrote:
quoted
+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".

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help