summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:55 +0700
committerJunio C Hamano <gitster@pobox.com>2013-07-15 10:56:08 -0700
commit7327d3d1b70bfde70840aa8970fe70de6ef1be16 (patch)
tree5740ac2d065dfc60e17f042959497dcf53af1e20 /wt-status.c
parent9b2d61499b4ff9ded3e1f3d535912ce04c21d72e (diff)
downloadgit-7327d3d1b70bfde70840aa8970fe70de6ef1be16.tar.gz
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>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c
index fae0c27622..33baf0a698 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -514,7 +514,7 @@ static void wt_status_collect_untracked(struct wt_status *s)
dir.flags |= DIR_SHOW_IGNORED_TOO;
setup_standard_excludes(&dir);
- fill_directory(&dir, s->pathspec.raw);
+ fill_directory(&dir, &s->pathspec);
for (i = 0; i < dir.nr; i++) {
struct dir_entry *ent = dir.entries[i];