Fix stupid typo in lookup_tag()
Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
20b3d206ac
commit
eb09626b94
2
tag.c
2
tag.c
@ -30,7 +30,7 @@ struct tag *lookup_tag(const unsigned char *sha1)
|
|||||||
if (!obj->type)
|
if (!obj->type)
|
||||||
obj->type = OBJ_TAG;
|
obj->type = OBJ_TAG;
|
||||||
if (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));
|
sha1_to_hex(sha1), typename(obj->type));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user