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:

committed by
Junio C Hamano

parent
9b2d61499b
commit
7327d3d1b7
@ -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)
|
||||
|
Reference in New Issue
Block a user