git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Andreas GalNext: Daniel Barkalow
Message 8 of 12 in “Better merge-base, alternative transport programs”
  1. 0/5 Better merge-base, alternative transport programsDaniel Barkalow, Apr 24, 2005
  2. 1/5 Add some functions for commit listsDaniel Barkalow, Apr 24, 2005
  3. Linus TorvaldsApr 24, 2005
  4. Linus TorvaldsApr 24, 2005
  5. Daniel BarkalowApr 24, 2005
  6. Allow multiple date-ordered listsDaniel Barkalow, Apr 24, 2005
  7. Add -u option to diff-cache to show UNCHANGED filesAndreas Gal, Apr 24, 2005
  8. Petr BaudisApr 24, 2005
  9. 2/5 Parse tree objects completelyDaniel Barkalow, Apr 24, 2005
  10. 3/5 Additional functions for the objects databaseDaniel Barkalow, Apr 24, 2005
  11. 4/5 Replace merge-base implementationDaniel Barkalow, Apr 24, 2005
  12. 5/5 Various transport programsDaniel Barkalow, Apr 24, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.