git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MWMark Wooding <mdw@distorted.org.uk>
Date
Jan 28, 2007, 14:55 UTC
Message-ID
<11699961031401-git-send-email-mdw@distorted.org.uk>
A stupid typo stopped this from working.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
---
 wt-status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wt-status.c b/wt-status.c
index b7250e4..5567868 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]);
 	}
-- 
1.5.0.rc2.g4e206
Message 1 of 1 in “wt-status: Actually accept `color.status.BLAH' configuration variables.”
  1. wt-status: Actually accept `color.status.BLAH' configuration variables.Mark Wooding, Jan 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.