threads / patch / 8346

patchFix stupid typo in lookup_tag()

Subject: [PATCH] Fix stupid typo in lookup_tag()

## tl;dr

One message between May 28, 2007 and May 28, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johan Herland· May 28, 2007, 23:21 UTC · lore
Signed-off-by: Johan Herland <johan@herland.net>
---
 tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to tag.c +1 −1
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

← back to recent threads