Skip to content

Commit

Permalink
wt-status: remove unused workdir_untracked member
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Apr 10, 2010
1 parent 3b0c196 commit e28a243
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion wt-status.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
1 change: 0 additions & 1 deletion wt-status.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e28a243

Please sign in to comment.