Skip to content

Commit e28a243

Browse files
committed
wt-status: remove unused workdir_untracked member
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3b0c196 commit e28a243

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

wt-status.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ static void wt_status_collect_untracked(struct wt_status *s)
378378
continue;
379379
if (!match_pathspec(s->pathspec, ent->name, ent->len, 0, NULL))
380380
continue;
381-
s->workdir_untracked = 1;
382381
string_list_insert(ent->name, &s->untracked);
383382
}
384383
}

wt-status.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ struct wt_status {
4747
/* These are computed during processing of the individual sections */
4848
int commitable;
4949
int workdir_dirty;
50-
int workdir_untracked;
5150
const char *index_file;
5251
FILE *fp;
5352
const char *prefix;

0 commit comments

Comments
 (0)