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

Re: How to list versioned files with modification status

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Oct 4, 2008, 23:09 UTC
Message-ID
<20081004230922.GL21650@dpotapov.dyndns.org>
In-Reply-To
<20081004131256.586a5fbf@smartavionics.com>
On Sat, Oct 04, 2008 at 01:12:56PM +0100, Mark Burton wrote:
> 
> 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

Well, it is a rather unusual task to have a special option devoted to it, and you always combine a few commands together like that:

comm -3 <(git ls-files|sort) <(git ls-files -m|sort)
Dmitry
Previous: Mark Burton
Message 9 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.