From: Junio C Hamano Date: Sat, 10 Apr 2010 06:34:40 +0000 (-0700) Subject: wt-status: remove unused workdir_untracked member X-Git-Tag: v1.7.2-rc0~126^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e28a243b0000e7b82adcc5eb7445ef132f22b9de;p=git.git wt-status: remove unused workdir_untracked member Signed-off-by: Junio C Hamano --- diff --git a/wt-status.c b/wt-status.c index 8ca59a2d2..db20b8610 100644 --- a/wt-status.c +++ b/wt-status.c @@ -378,7 +378,6 @@ static void wt_status_collect_untracked(struct wt_status *s) continue; if (!match_pathspec(s->pathspec, ent->name, ent->len, 0, NULL)) continue; - s->workdir_untracked = 1; string_list_insert(ent->name, &s->untracked); } } diff --git a/wt-status.h b/wt-status.h index 91206739f..2c49f465f 100644 --- a/wt-status.h +++ b/wt-status.h @@ -47,7 +47,6 @@ struct wt_status { /* These are computed during processing of the individual sections */ int commitable; int workdir_dirty; - int workdir_untracked; const char *index_file; FILE *fp; const char *prefix;