From eb09626b94fb21c67f47f71f8bada0d4aed306f5 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Tue, 29 May 2007 01:21:25 +0200 Subject: Fix stupid typo in lookup_tag() Signed-off-by: Johan Herland Signed-off-by: Junio C Hamano --- tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag.c') diff --git a/tag.c b/tag.c index 56a49f4fe1..e11a4cdc49 100644 --- a/tag.c +++ b/tag.c @@ -30,7 +30,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; } -- cgit v1.2.3