From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Bremner Subject: git status in clean working dir Date: Mon, 21 Jul 2008 20:13:55 -0300 Message-ID: <0ttzeirft8.wl%bremner@pivot.cs.unb.ca> Reply-To: David Bremner Mime-Version: 1.0 (generated by EMIKO 1.14.1 - "Choanoflagellata") Content-Type: text/plain; charset=US-ASCII To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Jul 22 02:05:55 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 1KL5NR-0007F2-4D for gcvg-git-2@gmane.org; Tue, 22 Jul 2008 02:05:50 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753472AbYGVAEM (ORCPT ); Mon, 21 Jul 2008 20:04:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753271AbYGVAEM (ORCPT ); Mon, 21 Jul 2008 20:04:12 -0400 Received: from pivot.cs.unb.ca ([131.202.240.57]:42950 "EHLO pivot.cs.unb.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753226AbYGVAEL (ORCPT ); Mon, 21 Jul 2008 20:04:11 -0400 X-Greylist: delayed 3013 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Jul 2008 20:04:11 EDT Received: from bremner by pivot.cs.unb.ca with local (Exim 4.69) (envelope-from ) id 1KL4Zp-0005tW-If for git@vger.kernel.org; Mon, 21 Jul 2008 20:13:57 -0300 Received: by pivot.cs.unb.ca (tmda-sendmail, from uid 1266); Mon, 21 Jul 2008 20:13:56 -0300 Received: from bremner (helo=pivot.cs.unb.ca) by pivot.cs.unb.ca with local-esmtp (Exim 4.69) (envelope-from ) id 1KL4Zo-0005tK-Cb for git@vger.kernel.org; Mon, 21 Jul 2008 20:13:56 -0300 User-Agent: EMIKO/1.14.1 (Choanoflagellata) FLIM/1.14.9 (=?ISO-8859-4?Q?Go?= =?ISO-8859-4?Q?j=F2?=) APEL/10.7 EasyPG/0.0.16 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) X-TMDA-Fingerprint: eHyfe320PsfklStHgGUaU/AQwK4 X-Primary-Address: bremner@unb.ca Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: According to the manual page for git-status (version 1.5.6.3) If there is no path that is different between the index file and the current HEAD commit (i.e., there is nothing to commit by running git-commit), the command exits with non-zero status. But it doesn't seem to work that way for me. git status -a exits with 0 but git commit -a exits with 1 Is the man page wrong, or is this a bug? Or, option #3 ? David P.S. Please CC me. I'm not on the list.