From: Mark Wooding Date: Sun, 28 Jan 2007 14:55:03 +0000 (+0000) Subject: wt-status: Actually accept `color.status.BLAH' configuration variables. X-Git-Tag: v1.5.0-rc3~32 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3e821c6366571ee6a2775977340d8935a1ce143;p=git.git wt-status: Actually accept `color.status.BLAH' configuration variables. A stupid typo stopped this from working. Signed-off-by: Mark Wooding Signed-off-by: Junio C Hamano --- diff --git a/wt-status.c b/wt-status.c index b7250e431..556786800 100644 --- a/wt-status.c +++ b/wt-status.c @@ -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]); }