Skip to contentSkip to conversation

wt-status: Actually accept `color.status.BLAH' configuration variables.

PATCH New Mark Wooding 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wt-status: Actually accept `color.status.BLAH' configuration variables.

A stupid typo stopped this from working.

---
 wt-status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
wt-status.c +1 -1
index b7250e4..5567868 100644
@@ -351,7 +351,7 @@ int git_status_config(const char *k, const char *v)
 		wt_status_use_color = git_config_colorbool(k, v);
 		return 0;
 	}
-	if (!strncmp(k, "status.color.", 13) || !strncmp(k, "color.status", 13)) {
+	if (!strncmp(k, "status.color.", 13) || !strncmp(k, "color.status.", 13)) {
 		int slot = parse_status_slot(k, 13);
 		color_parse(v, k, wt_status_colors[slot]);
 	}
Signature · 1 line
1.5.0.rc2.g4e206