mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
2c1eb10454
commit
0d32c183b6
@@ -665,7 +665,7 @@ static void wt_status_collect_untracked(struct wt_status *s)
|
||||
dir.untracked = the_index.untracked;
|
||||
setup_standard_excludes(&dir);
|
||||
|
||||
fill_directory(&dir, &s->pathspec);
|
||||
fill_directory(&dir, &the_index, &s->pathspec);
|
||||
|
||||
for (i = 0; i < dir.nr; i++) {
|
||||
struct dir_entry *ent = dir.entries[i];
|
||||
|
||||
Reference in New Issue
Block a user