convert {read,fill}_directory to take struct pathspec

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2013-07-14 15:35:55 +07:00
committed by Junio C Hamano
parent 9b2d61499b
commit 7327d3d1b7
7 changed files with 20 additions and 12 deletions

View File

@ -216,7 +216,7 @@ static void show_files(struct dir_struct *dir)
/* For cached/deleted files we don't need to even do the readdir */
if (show_others || show_killed) {
fill_directory(dir, pathspec.raw);
fill_directory(dir, &pathspec);
if (show_others)
show_other_files(dir);
if (show_killed)