git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wt-status: Actually accept `color.status.BLAH' configuration variables.
@ 2007-01-28 14:55 Mark Wooding
  0 siblings, 0 replies; only message in thread
From: Mark Wooding @ 2007-01-28 14:55 UTC (permalink / raw)
  To: git; +Cc: Mark Wooding

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-28 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-28 14:55 [PATCH] wt-status: Actually accept `color.status.BLAH' configuration variables Mark Wooding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).