Code

wt-status: remove unused workdir_untracked member
authorJunio C Hamano <gitster@pobox.com>
Sat, 10 Apr 2010 06:34:40 +0000 (23:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 10 Apr 2010 07:43:59 +0000 (00:43 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c
wt-status.h

index 8ca59a2d2abec0c9c4629cd4ae7340fcd79a0c7e..db20b86102691fdf516aa977e6d4950f2bc31ac1 100644 (file)
@@ -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);
        }
 }
index 91206739f318233811dbd594d5ff37aa77c06eef..2c49f465f84fd547c853e967c385c5c106f10e16 100644 (file)
@@ -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;