tree-walk.c: remove the_repo from fill_tree_descriptor()
[gitweb.git] / notes.c
diff --git a/notes.c b/notes.c
index 532ec37865768d05a31606f495b4f0c1645ea757..2522b87d77b11c731343a5159abf43fff60b539d 100644 (file)
--- a/notes.c
+++ b/notes.c
@@ -397,7 +397,7 @@ static void load_subtree(struct notes_tree *t, struct leaf_node *subtree,
        struct name_entry entry;
        const unsigned hashsz = the_hash_algo->rawsz;
 
-       buf = fill_tree_descriptor(&desc, &subtree->val_oid);
+       buf = fill_tree_descriptor(the_repository, &desc, &subtree->val_oid);
        if (!buf)
                die("Could not read %s for notes-index",
                     oid_to_hex(&subtree->val_oid));