From: Matthieu Moy Date: Fri, 24 Aug 2007 11:40:53 GMT Subject: Re: [PATCH 1/2] Add "--only-untracked" flag to status commands. Message-ID: In-Reply-To: Johannes Schindelin writes: > Would it not be better to imitate the "-x" and "-X" options of ls-files, > then? You could achieve the effect you desire by "git status -x \*" > then. That's equivalent feature-wise, but a bit slower performance-wise (the proposed patch skips file listing totally). But since the use-case for it is not the common case, it probably doesn't matter (and in case, it's possible to hardcode an optimisation if the pattern is "*"). -- Matthieu