attr: remove index from git_attr_set_direction()
[gitweb.git] / builtin / commit.c
index 158e3f843afbf889e26328f29cb2894f17da4ee1..21277dd42e8e2ea60e42eb770f57502997fd63de 100644 (file)
@@ -251,7 +251,7 @@ static int list_paths(struct string_list *list, const char *with_tree,
 
                if (ce->ce_flags & CE_UPDATE)
                        continue;
-               if (!ce_path_match(ce, pattern, m))
+               if (!ce_path_match(&the_index, ce, pattern, m))
                        continue;
                item = string_list_insert(list, ce->name);
                if (ce_skip_worktree(ce))