wt-status: Actually accept `color.status.BLAH' configuration variables.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 28 Jan 2007 14:55:03 +0000 (14:55 +0000)
committerJunio C Hamano <junkio@cox.net>
Sun, 28 Jan 2007 19:04:44 +0000 (11:04 -0800)
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>
wt-status.c
index b7250e43100244abcdaa5bc923574aad7f815d0b..5567868008ce332d9e9ee42b586ab838bad228e6 100644 (file)
@@ -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]);
        }