diff --git a/wt-status.c b/wt-status.c
index 9f4e0ba9c17120ca2903b30b95b6d8fbcc62cd9c..c01838c5ad5d04996478350c01a9c49231a467bc 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
if (s->ignore_submodule_arg) {
DIFF_OPT_SET(&rev.diffopt, OVERRIDE_SUBMODULE_CONFIG);
handle_ignore_submodules_arg(&rev.diffopt, s->ignore_submodule_arg);
- }
+ }
rev.diffopt.format_callback = wt_status_collect_changed_cb;
rev.diffopt.format_callback_data = s;
init_pathspec(&rev.prune_data, s->pathspec);
int i;
struct strbuf buf = STRBUF_INIT;
- if (!s->untracked.nr)
+ if (!l->nr)
return;
wt_status_print_other_header(s, what, how);