]> git.ipfire.org Git - thirdparty/git.git/blobdiff - notes-merge.c
cocci: apply the "object-store.h" part of "the_repository.pending"
[thirdparty/git.git] / notes-merge.c
index df1a16ac66c43bdf2f375953a258fb58483aa198..8a09cd9f77c0f4f5689dc6c147b0e9c68edf9854 100644 (file)
@@ -326,7 +326,7 @@ static void write_note_to_worktree(const struct object_id *obj,
 {
        enum object_type type;
        unsigned long size;
-       void *buf = read_object_file(note, &type, &size);
+       void *buf = repo_read_object_file(the_repository, note, &type, &size);
 
        if (!buf)
                die("cannot read note %s for object %s",