Re: [PATCH] Add -u option to diff-cache to show UNCHANGED files
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Apr 24, 2005, 12:43 UTC
- Message-ID
- <20050424124318.GD1507@pasky.ji.cz>
- In-Reply-To
- <Pine.LNX.4.58.0504232022180.4690@sam.ics.uci.edu>
Dear diary, on Sun, Apr 24, 2005 at 05:28:17AM CEST, I got a letter where Andreas Gal <gal@uci.edu> told me that...
Show 7 quoted lines
> With -u diff-cache shows unchanged files, instead of files that changed. > This is useful to implement a "git clean" command that throws away all > checked out files that have not changed (yes, I really would like to > have that). One could also do show-files and then substract the > diff-cache output from it, but thats slow and clumsy. > > Signed-off-by: Andreas Gal <gal@uci.edu>
I don't think this fits to diff-cache (since the output is basically nonsensical apart of the filename, right?). Maybe rather show-files?
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor