@matheusbsbs / matheus-bagliano / commits / c3e821c636
Fork 0

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

A stupid typo stopped this from working. Signed-off-by: Mark Wooding <mdw@distorted.org.uk> Signed-off-by: Junio C Hamano <junkio@cox.net>

Mark Wooding committed Jan 28, 2007 at 14:55 UTC c3e821c6366571ee6a2775977340d8935a1ce143
1 file changed +1 -1
wt-status.c
+1 -1
@@ -351,7 +351,7 @@ int git_status_config(const char *k, const char *v)
351 wt_status_use_color = git_config_colorbool(k, v);
352 return 0;
353 }
354 - if (!strncmp(k, "status.color.", 13) || !strncmp(k, "color.status", 13)) {
354 + if (!strncmp(k, "status.color.", 13) || !strncmp(k, "color.status.", 13)) {
355 int slot = parse_status_slot(k, 13);
356 color_parse(v, k, wt_status_colors[slot]);
357 }