tree.c: make read_tree*() take 'struct repository *'
[gitweb.git] / merge-recursive.c
index acc2f64a4e9d03f49165e3c46396ce00a09dc6bd..b9467f5ecf2aa6188220987eaaf7f002b181ad8a 100644 (file)
@@ -463,7 +463,8 @@ static void get_files_dirs(struct merge_options *o, struct tree *tree)
 {
        struct pathspec match_all;
        memset(&match_all, 0, sizeof(match_all));
-       read_tree_recursive(tree, "", 0, 0, &match_all, save_files_dirs, o);
+       read_tree_recursive(the_repository, tree, "", 0, 0,
+                           &match_all, save_files_dirs, o);
 }
 
 static int get_tree_entry_if_blob(const struct object_id *tree,