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

Re: list all dirty files in working directory

From
Linus Torvalds <torvalds@osdl.org>
Date
May 6, 2005, 02:06 UTC
Message-ID
<Pine.LNX.4.58.0505051905200.2328@ppc970.osdl.org>
In-Reply-To
<20050505212152.GP20994@cip.informatik.uni-erlangen.de>
On Thu, 5 May 2005, Thomas Glanzmann wrote:
>
> is there another way than call 'checkout-cache -a' and parse the output?
> Maybe a command which lists one dirty file per line?
A simple
	git-diff-files
does what I think you want.

Of course, it does a lot more too, but part of the deal is that you get to know which files are dirty.

		Linus
Previous: Andreas Gal
Message 4 of 4 in “list all dirty files in working directory”
  1. Thomas GlanzmannMay 5, 2005
  2. Thomas GlanzmannMay 5, 2005
  3. Andreas GalMay 5, 2005
  4. Linus TorvaldsMay 6, 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.