X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tag.c;h=bbacd59a23f7994980f4bf017324833ca3d4adb3;hb=792d2370f975f032a708cb35044193b5b5310840;hp=330d287924765c95dac428f040b104930c316b81;hpb=baf5597ae43398e485f63f8e9216d34b5cd0a0d6;p=git.git diff --git a/tag.c b/tag.c index 330d28792..bbacd59a2 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; }