summaryrefslogtreecommitdiff
path: root/builtin/ls-files.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-05-05 12:53:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-06 19:15:39 +0900
commit0d32c183b636ffba6462b21ed0c844b6cb887b3f (patch)
treee715096f34c71ed0a6195215ea514e25992ff788 /builtin/ls-files.c
parentdir: convert read_directory to take an index (diff)
downloadtgif-0d32c183b636ffba6462b21ed0c844b6cb887b3f.tar.xz
dir: convert fill_directory to take an index
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/ls-files.c')
-rw-r--r--builtin/ls-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/ls-files.c b/builtin/ls-files.c
index 7a8c5681b6..61271b52cf 100644
--- a/builtin/ls-files.c
+++ b/builtin/ls-files.c
@@ -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)