]> gitweb.ps.run Git - ps-cgit/blobdiff - parsing.c
git: update to v2.46.0
[ps-cgit] / parsing.c
index 72b59b3c46a6c52aadd1134f215c8ce3f274d392..5616d4331ebb89c20f940c4f2c1e8f00758c3b0b 100644 (file)
--- a/parsing.c
+++ b/parsing.c
@@ -6,6 +6,8 @@
  *   (see COPYING for full license text)
  */
 
+#define USE_THE_REPOSITORY_VARIABLE
+
 #include "cgit.h"
 
 /*
@@ -198,7 +200,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;