mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
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
@@ -214,7 +214,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
|
||||
PATHSPEC_PREFER_CWD,
|
||||
prefix, argv);
|
||||
|
||||
fill_directory(&dir, pathspec.raw);
|
||||
fill_directory(&dir, &pathspec);
|
||||
|
||||
for (i = 0; i < dir.nr; i++) {
|
||||
struct dir_entry *ent = dir.entries[i];
|
||||
|
||||
Reference in New Issue
Block a user