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

Re: list all dirty files in working directory

From
AGAndreas Gal <gal@uci.edu>
Date
May 5, 2005, 21:35 UTC
Message-ID
<Pine.LNX.4.58.0505051433190.8745@sam.ics.uci.edu>
In-Reply-To
<20050505212152.GP20994@cip.informatik.uni-erlangen.de>
git-update-cache --refresh | while read line; do
    echo $line | cut -d ':' -f 1
done
That should give you one file per line, for every dirty file. 
Andreas
On Thu, 5 May 2005, Thomas Glanzmann wrote:
Show 10 quoted lines
> Hello,
> is there another way than call 'checkout-cache -a' and parse the output?
> Maybe a command which lists one dirty file per line?
> 
> 	Thomas
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
Previous: Thomas GlanzmannNext: Linus Torvalds
Message 3 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.