summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2007-05-28 23:21:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-28 23:51:55 (GMT)
commiteb09626b94fb21c67f47f71f8bada0d4aed306f5 (patch)
tree77b6313284627ba55b33b880c3ad2d157cab8314 /tag.c
parent20b3d206acbbb042c7ad5f42d36ff8d036a538c5 (diff)
downloadgit-eb09626b94fb21c67f47f71f8bada0d4aed306f5.zip
git-eb09626b94fb21c67f47f71f8bada0d4aed306f5.tar.gz
git-eb09626b94fb21c67f47f71f8bada0d4aed306f5.tar.bz2
Fix stupid typo in lookup_tag()
Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag.c b/tag.c
index 56a49f4..e11a4cd 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;
}