| 95 | } |
| 96 | |
| 97 | struct tag *lookup_tag(struct repository *r, const struct object_id *oid) |
| 98 | { |
| 99 | struct object *obj = lookup_object(r, oid); |
| 100 | if (!obj) |
| 101 | return create_object(r, oid, alloc_tag_node(r)); |
| 102 | return object_as_type(obj, OBJ_TAG, 0); |
| 103 | } |
| 104 | |
| 105 | static timestamp_t parse_tag_date(const char *buf, const char *tail) |
| 106 | { |
no test coverage detected