mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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>
This commit is contained in:
parent
4f0219a4c7
commit
c3e821c636
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue