Re: git status --porcelain is a mess that needs fixing
- From
Jeff King <peff@peff.net>
- Date
- Apr 10, 2010, 06:03 UTC
- Message-ID
- <20100410060353.GA4585@coredump.intra.peff.net>
- In-Reply-To
- <20100410055124.GA17778@progeny.tock>
On Sat, Apr 10, 2010 at 12:51:24AM -0500, Jonathan Nieder wrote:
Show 11 quoted lines
> >> If you really want a list of ignored files, I think you are stuck > >> comparing the output of "git ls-files -o" and "git ls-files -o > >> --exclude-standard". > > > > "git clean -n -d" may help. > > err, "git clean -n -d -X". > > I am also not sure how stable the "Would remove " output format is, > or how stable we want it to be. Probably not stable at all, so > sorry about that.
That's the same information, isn't it? You do "git clean -ndX" to see _everything_ that is untracked, and "git clean -nd" to see things that are untracked but not ignored. So I think it is just as painful to use as ls-files, but as you noted, it is not really plumbing.
-Peff