about summary refs log tree commit diff
path: root/third_party/cgit/parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/parsing.c')
-rw-r--r--third_party/cgit/parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/parsing.c b/third_party/cgit/parsing.c
index e093aaf7019c..83d3521e8938 100644
--- a/third_party/cgit/parsing.c
+++ b/third_party/cgit/parsing.c
@@ -198,7 +198,7 @@ struct taginfo *cgit_parse_tag(struct tag *tag)
 	const char *p;
 	struct taginfo *ret = NULL;
 
-	data = read_object_file(&tag->object.oid, &type, &size);
+	data = repo_read_object_file(the_repository, &tag->object.oid, &type, &size);
 	if (!data || type != OBJ_TAG)
 		goto cleanup;