pack-bitmap: make bitmap header handling hash agnostic
[gitweb.git] / tree-diff.c
index 4ffa00ae0c21bd128404a80d4363c662d82d4dbb..e6d306f69f940edd9613de0b38ffe2d9993f91ab 100644 (file)
@@ -299,7 +299,8 @@ static void skip_uninteresting(struct tree_desc *t, struct strbuf *base,
        enum interesting match;
 
        while (t->size) {
-               match = tree_entry_interesting(&t->entry, base, 0, &opt->pathspec);
+               match = tree_entry_interesting(opt->repo->index, &t->entry,
+                                              base, 0, &opt->pathspec);
                if (match) {
                        if (match == all_entries_not_interesting)
                                t->size = 0;