Junio C Hamano wrote: > Thomas Rast <trast@xxxxxxxxxxxxxxx> writes: > > > If it's not too much work, it would be nice to somehow detect if -u > > can have any influence at all. For example, > > > > $ git status bar > > # Not currently on any branch. > > nothing to commit (use -u to show untracked files) > > > > is a bit misleading if 'bar' is tracked because adding a -u won't make > > any difference. [...] > It is not about "we know that there are untracked files but you told me > not to show it, so I am not telling". We simply do not know at the point > we give that message. In other words, conditional removal of that message > is fundamentally incompatible with the use of -uno. Ok. I hoped there would be an easy way to know that all pathspecs exactly matched a tracked file, and thus no untracked files can possibly change the listing. But you convinced me that it doesn't fit into the current scheme, and it doesn't really matter... -- Thomas Rast trast@{inf,student}.ethz.ch -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html