Browse Source

wt-status: remove unused workdir_untracked member

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 15 years ago
parent
commit
e28a243b00
  1. 1
      wt-status.c
  2. 1
      wt-status.h

1
wt-status.c

@ -378,7 +378,6 @@ static void wt_status_collect_untracked(struct wt_status *s) @@ -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);
}
}

1
wt-status.h

@ -47,7 +47,6 @@ struct wt_status { @@ -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;

Loading…
Cancel
Save