Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
wt-status: remove unused workdir_untracked member
author
Junio C Hamano
<gitster@pobox.com>
Sat, 10 Apr 2010 06:34:40 +0000
(23:34 -0700)
committer
Junio 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
patch
|
blob
|
history
wt-status.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3b0c196
)
diff --git
a/wt-status.c
b/wt-status.c
index 8ca59a2d2abec0c9c4629cd4ae7340fcd79a0c7e..db20b86102691fdf516aa977e6d4950f2bc31ac1 100644
(file)
--- 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 91206739f318233811dbd594d5ff37aa77c06eef..2c49f465f84fd547c853e967c385c5c106f10e16 100644
(file)
--- 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;