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

[PATCH] error message typo fixes: unkown -> unknown

From
David Turner <dturner@twopensource.com>
Date
Oct 6, 2015, 20:00 UTC
Message-ID
<1444161633-1816-1-git-send-email-dturner@twopensource.com>
Fix two instances of a typo in user-visible error messages.
Signed-off-by: David Turner <dturner@twopensource.com>
---
 connect.c   | 2 +-
 sha1_file.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/connect.c b/connect.c
index ced4961..d3283b8 100644
--- a/connect.c
+++ b/connect.c
@@ -255,7 +255,7 @@ static const char *prot_name(enum protocol protocol)
 		case PROTO_GIT:
 			return "git";
 		default:
-			return "unkown protocol";
+			return "unknown protocol";
 	}
 }
 
diff --git a/sha1_file.c b/sha1_file.c
index d295a32..bb5a3b8 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1719,7 +1719,7 @@ static int parse_sha1_header_extended(const char *hdr, struct object_info *oi,
 		strbuf_add(oi->typename, type_buf, type_len);
 	/*
 	 * Set type to 0 if its an unknown object and
-	 * we're obtaining the type using '--allow-unkown-type'
+	 * we're obtaining the type using '--allow-unknown-type'
 	 * option.
 	 */
 	if ((flags & LOOKUP_UNKNOWN_OBJECT) && (type < 0))
-- 
2.4.2.644.g97b850b-twtrsrc
Message 1 of 1 in “error message typo fixes: unkown -> unknown”
  1. error message typo fixes: unkown -> unknownDavid Turner, Oct 6, 2015

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.