git-check-attr: Fix command-line handling to match docs
[gitweb.git] / wt-status.c
index 9f4e0ba9c17120ca2903b30b95b6d8fbcc62cd9c..02377729c401fa6e041a713a89fe986fa0f562a0 100644 (file)
@@ -642,7 +642,7 @@ static void wt_status_print_other(struct wt_status *s,
        int i;
        struct strbuf buf = STRBUF_INIT;
 
-       if (!s->untracked.nr)
+       if (!l->nr)
                return;
 
        wt_status_print_other_header(s, what, how);