Skip to contentSkip to conversation

Fix stupid typo in lookup_tag()

PATCH New Johan Herland 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix stupid typo in lookup_tag()

---
 tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tag.c +1 -1
index 330d287..bbacd59 100644
@@ -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;
         }
Signature · 1 line
1.5.2.101.gee49f