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

[PATCH] Generate a warning message if we find an unrecognized option.

From
JWJeremy White <jwhite@winehq.org>
Date
Feb 8, 2010, 22:33 UTC
Message-ID
<4B70913F.7060809@winehq.org>
---
 imap-send.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/imap-send.c b/imap-send.c
index 51f371b..885da22 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -1360,6 +1360,7 @@ static int git_imap_config(const char *key, const char *val, void *cb)
 		server.ssl_verify = git_config_bool(key, val);
 	else if (!strcmp("preformattedHTML", key))
 		server.use_html = git_config_bool(key, val);
+        else imap_info("Unknown imap configuration option '%s'\n", key);
 	return 0;
 }
 
-- 
1.7.0.rc2.1.gd78df.dirty
Next: Jeff King
Message 1 of 6 in “Generate a warning message if we find an unrecognized option.”
  1. Generate a warning message if we find an unrecognized option.Jeremy White, Feb 8, 2010
  2. Jeff KingFeb 9, 2010
  3. Junio C HamanoFeb 9, 2010
  4. Jeff KingFeb 9, 2010
  5. David AguilarFeb 9, 2010
  6. Jeff KingFeb 9, 2010

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.