Re: How to list versioned files with modification status
- From
- Mark Burton <markb@ordern.com>
- Date
- Oct 4, 2008, 22:09 UTC
- Message-ID
- <loom.20081004T215458-15@post.gmane.org>
- In-Reply-To
- <81b0412b0810041440w131647aeo9c14f55cd38da635@mail.gmail.com>
Alex Riesen <raa.lkml <at> gmail.com> writes:
Show 12 quoted lines
> > 2008/10/4 Mark Burton <markb <at> 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. >
'git diff --name-status' looks useful but it only shows the files that have changed - I would like to see the names of the files that haven't changed. Even svn could do that (svn status).
Thanks,
Mark