From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Burton Subject: Re: How to list versioned files with modification status Date: Sat, 4 Oct 2008 22:09:25 +0000 (UTC) Message-ID: References: <20081004131256.586a5fbf@smartavionics.com> <81b0412b0810041440w131647aeo9c14f55cd38da635@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Oct 05 00:11:35 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmFLL-00029H-98 for gcvg-git-2@gmane.org; Sun, 05 Oct 2008 00:11:19 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753596AbYJDWJh (ORCPT ); Sat, 4 Oct 2008 18:09:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753511AbYJDWJh (ORCPT ); Sat, 4 Oct 2008 18:09:37 -0400 Received: from main.gmane.org ([80.91.229.2]:36714 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753428AbYJDWJh (ORCPT ); Sat, 4 Oct 2008 18:09:37 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KmFJc-0001Nt-1w for git@vger.kernel.org; Sat, 04 Oct 2008 22:09:32 +0000 Received: from host86-128-74-78.range86-128.btcentralplus.com ([86.128.74.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 22:09:32 +0000 Received: from markb by host86-128-74-78.range86-128.btcentralplus.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 22:09:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 86.128.74.78 (Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Alex Riesen gmail.com> writes: > > 2008/10/4 Mark Burton 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