aboutsummaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorMark Wooding <mdw@distorted.org.uk>2007-01-28 14:55:03 +0000
committerJunio C Hamano <junkio@cox.net>2007-01-28 11:04:44 -0800
commitc3e821c6366571ee6a2775977340d8935a1ce143 (patch)
treea6f37b21aa2bd76bd2df9e395cfa42d869f502ee /wt-status.c
parent4f0219a4c76a2ce963cf355f90f18c9c59036bca (diff)
downloadgit-c3e821c6366571ee6a2775977340d8935a1ce143.tar.gz
git-c3e821c6366571ee6a2775977340d8935a1ce143.tar.xz
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>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c2
1 files changed, 1 insertions, 1 deletions
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]);
}