]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/ls-files.c
dir: convert fill_directory to take an index
[thirdparty/git.git] / builtin / ls-files.c
index 7a8c5681b655868b0c56ac765c97cf0ec57be458..61271b52cf8f250ccbfd6813bdafc63a541679cb 100644 (file)
@@ -333,7 +333,7 @@ static void show_files(struct dir_struct *dir)
        if (show_others || show_killed) {
                if (!show_others)
                        dir->flags |= DIR_COLLECT_KILLED_ONLY;
-               fill_directory(dir, &pathspec);
+               fill_directory(dir, &the_index, &pathspec);
                if (show_others)
                        show_other_files(dir);
                if (show_killed)