diff options
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -93,7 +93,8 @@ struct tag *lookup_tag(const struct object_id *oid) { struct object *obj = lookup_object(oid->hash); if (!obj) - return create_object(oid->hash, alloc_tag_node()); + return create_object(the_repository, oid->hash, + alloc_tag_node()); return object_as_type(obj, OBJ_TAG, 0); } |