aboutsummaryrefslogtreecommitdiffstats
path: root/parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing.c b/parsing.c
index fd1ea99..12453c2 100644
--- a/parsing.c
+++ b/parsing.c
@@ -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