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

[PATCH] Fix stupid typo in lookup_tag()

From
Johan Herland <johan@herland.net>
Date
May 28, 2007, 23:21 UTC
Message-ID
<200705290121.25653.johan@herland.net>
Signed-off-by: Johan Herland <johan@herland.net>
---
 tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tag.c b/tag.c
index 330d287..bbacd59 100644
--- a/tag.c
+++ b/tag.c
@@ -26,7 +26,7 @@ struct tag *lookup_tag(const unsigned char *sha1)
 	if (!obj->type)
 		obj->type = OBJ_TAG;
         if (obj->type != OBJ_TAG) {
-                error("Object %s is a %s, not a tree",
+                error("Object %s is a %s, not a tag",
                       sha1_to_hex(sha1), typename(obj->type));
                 return NULL;
         }
-- 
1.5.2.101.gee49f
Message 1 of 1 in “Fix stupid typo in lookup_tag()”
  1. Fix stupid typo in lookup_tag()Johan Herland, May 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.