Fourth batch after 2.20
[gitweb.git] / list-objects.c
index ee6aff0cef7f9dd1bf1169f4f1c6dff0963886b7..a2296a8e7b42a3d5d044c648d353ac94f9b4ed81 100644 (file)
@@ -114,7 +114,8 @@ static void process_tree_contents(struct traversal_context *ctx,
 
        while (tree_entry(&desc, &entry)) {
                if (match != all_entries_interesting) {
-                       match = tree_entry_interesting(&entry, base, 0,
+                       match = tree_entry_interesting(ctx->revs->repo->index,
+                                                      &entry, base, 0,
                                                       &ctx->revs->diffopt.pathspec);
                        if (match == all_entries_not_interesting)
                                break;