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

Re: How to list versioned files with modification status

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 4, 2008, 21:40 UTC
Message-ID
<81b0412b0810041440w131647aeo9c14f55cd38da635@mail.gmail.com>
In-Reply-To
<20081004131256.586a5fbf@smartavionics.com>
2008/10/4 Mark Burton <markb@smartavionics.com>:
> I would like to be able to easily find those files in a git tree that
> don't have pending modifications. Although ls-files can list the
> files that are modified, it can't list those that aren't or list all
> files with their modification status.

Maybe if you look at git diff and diff-index, you will find something what suits you better? Because "modification" is just a difference between a known (recorded in a commit or index) state and your working tree.

Previous: Mark BurtonNext: Mark Burton
Message 2 of 9 in “How to list versioned files with modification status”
  1. Mark BurtonOct 4, 2008
  2. Alex RiesenOct 4, 2008
  3. Mark BurtonOct 4, 2008
  4. Alex RiesenOct 4, 2008
  5. deskinm@umich.eduOct 4, 2008
  6. Mark BurtonOct 4, 2008
  7. Linus TorvaldsOct 4, 2008
  8. Mark BurtonOct 5, 2008
  9. Dmitry PotapovOct 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.