From: Dmitry Potapov Date: Sat, 04 Oct 2008 23:09:22 GMT Subject: Re: How to list versioned files with modification status 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