diff options
Diffstat (limited to 'parsing.c')
| -rw-r--r-- | parsing.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -200,7 +200,7 @@ struct taginfo *cgit_parse_tag(struct tag *tag) | |||
| 200 | const char *p; | 200 | const char *p; |
| 201 | struct taginfo *ret = NULL; | 201 | struct taginfo *ret = NULL; |
| 202 | 202 | ||
| 203 | data = read_sha1_file(tag->object.oid.hash, &type, &size); | 203 | data = read_object_file(&tag->object.oid, &type, &size); |
| 204 | if (!data || type != OBJ_TAG) | 204 | if (!data || type != OBJ_TAG) |
| 205 | goto cleanup; | 205 | goto cleanup; |
| 206 | 206 | ||
