X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9d751e7eec4f4bc7292be46f2af774fe1adf336a..c679d9010451b986bae719a6abe0458af2b2dfb9:/parsing.c 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) const char *p; struct taginfo *ret = NULL; - data = read_sha1_file(tag->object.oid.hash, &type, &size); + data = read_object_file(&tag->object.oid, &type, &size); if (!data || type != OBJ_TAG) goto cleanup;