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

Question: How to list files that haven't been modified?

From
MBMark Burton <markb@ordern.com>
Date
Oct 4, 2008, 20:07 UTC
Message-ID
<loom.20081004T195935-879@post.gmane.org>
Hi,

It's still early days for me and I haven't yet discovered how to ask git to list all the files in a tree that don't have pending modifications (staged or not). I have read about ls-files but it doesn't seem to offer that option. As far as I can tell, it can list the files known to git and the files that have been modified but not the difference between those sets.

Thanks,
Mark
Next: Elijah Newren
Message 1 of 2 in “Question: How to list files that haven't been modified?”
  1. Mark BurtonOct 4, 2008
  2. Elijah NewrenOct 4, 2008

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.