@matheusbsbs / matheus-bagliano / commits / eb09626b94
Fork 0

Fix stupid typo in lookup_tag()

Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <junkio@cox.net>

Johan Herland committed May 29, 2007 at 01:21 UTC eb09626b94fb21c67f47f71f8bada0d4aed306f5
1 file changed +1 -1
tag.c
+1 -1
@@ -30,7 +30,7 @@ struct tag *lookup_tag(const unsigned char *sha1)
30 if (!obj->type)
31 obj->type = OBJ_TAG;
32 if (obj->type != OBJ_TAG) {
33 - error("Object %s is a %s, not a tree",
33 + error("Object %s is a %s, not a tag",
34 sha1_to_hex(sha1), typename(obj->type));
35 return NULL;
36 }