Skip to content

Commit

Permalink
Fix stupid typo in lookup_tag()
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Johan Herland authored and Junio C Hamano committed May 28, 2007
1 parent 20b3d20 commit eb09626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eb09626

Please sign in to comment.