Re: git status --porcelain is a mess that needs fixing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 10, 2010 at 12:51:24AM -0500, Jonathan Nieder wrote:

> >> 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
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]