]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/mktag.c
cocci: apply the "object-store.h" part of "the_repository.pending"
[thirdparty/git.git] / builtin / mktag.c
index 5d22909122d195873f2427812084dc8bd4319180..141a2d456933dfd7479055ca54ab76d290fa5901 100644 (file)
@@ -51,7 +51,8 @@ static int verify_object_in_tag(struct object_id *tagged_oid, int *tagged_type)
        void *buffer;
        const struct object_id *repl;
 
-       buffer = read_object_file(tagged_oid, &type, &size);
+       buffer = repo_read_object_file(the_repository, tagged_oid, &type,
+                                      &size);
        if (!buffer)
                die(_("could not read tagged object '%s'"),
                    oid_to_hex(tagged_oid));