Merge branch 'so/cherry-pick-always-allow-m1'
[gitweb.git] / list-objects.c
index cf7f25bed352ac89625d311a1f5bdcd0c7a37878..4e2789768d21ccb47a8fe2d5de62b6be58ea9bb7 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;