From: Junio C Hamano Subject: Re: [PATCH] Added --exit-code option to git-status Date: Sat, 05 Mar 2011 08:10:01 -0800 Message-ID: <7v4o7h5z1i.fsf@alter.siamese.dyndns.org> References: <4D7254CB.5040704@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Piotr Krukowiecki X-From: git-owner@vger.kernel.org Sat Mar 05 17:10:21 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pvu3f-0007Bi-Pk for gcvg-git-2@lo.gmane.org; Sat, 05 Mar 2011 17:10:20 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753149Ab1CEQKM (ORCPT ); Sat, 5 Mar 2011 11:10:12 -0500 Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:51066 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753021Ab1CEQKL (ORCPT ); Sat, 5 Mar 2011 11:10:11 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 07E1C4AE3; Sat, 5 Mar 2011 11:11:32 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=to:cc:subject :references:from:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=z+FMq2/p4TTviwdOOdR6/M0AZqU=; b=k0lP5e Of8/wuS/DPF6NnpDfOHfp4dSkntr7IK358N1PI1vDB6tRFOp1lZfjY+tLGoy2tlZ hX0GXoz/iQk7OJV1hsHSmUE92Qb9pEpNqZi41EaJ/HfNuxYYPfFlavnrpw5Hqm9p kLW8nTT+PAVsx2CC8+po3Pe4G+l2KryPcUF2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=to:cc:subject :references:from:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=nObeGDpVl9dhs/CssaTiylwuIpaiwiKt sZwVhxqF11hZcJX5I7x4v2JxVEjABGAkuZaQYk4OcyohoRG+DC+1TC/XqhS6Vu1W sS/pAft8vLaLhiJuaubewU/LIkHgNk0E9+IpLAvdZ5NceM+7xpEvBwSp/qXNYqKJ 6HVXMVfc84o= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id DAEDF4AE2; Sat, 5 Mar 2011 11:11:29 -0500 (EST) Received: from pobox.com (unknown [76.102.170.102]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 113E74AE1; Sat, 5 Mar 2011 11:11:26 -0500 (EST) In-Reply-To: <4D7254CB.5040704@gmail.com> (Piotr Krukowiecki's message of "Sat\, 05 Mar 2011 16\:20\:43 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-Pobox-Relay-ID: 3AF44D94-4743-11E0-9CBE-AF401E47CF6F-77302942!a-pb-sasl-sd.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Piotr Krukowiecki writes: > When this option is specified git-status returns non-zero > exit code when there are untracked, modifed or staged files. > ... > Comments? Knowing the history of "commit --dry-run" vs "status", my gut reaction was that adding anything to "status" is going totally backwards.