From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Habouzit Subject: Re: [PATCH] git-clean: Fix error message if clean.requireForce is not set. Date: Mon, 12 Nov 2007 09:33:52 +0100 Message-ID: <20071112083352.GA20482@artemis.corp> References: <47380E77.9040205@viscovery.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="gKMricLos+KVdGMg"; protocol="application/pgp-signature"; micalg=SHA1 Cc: Junio C Hamano , Git Mailing List To: Johannes Sixt X-From: git-owner@vger.kernel.org Mon Nov 12 09:34:16 2007 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 1IrUkF-0000Kd-CS for gcvg-git-2@gmane.org; Mon, 12 Nov 2007 09:34:11 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755530AbXKLId4 (ORCPT ); Mon, 12 Nov 2007 03:33:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754584AbXKLId4 (ORCPT ); Mon, 12 Nov 2007 03:33:56 -0500 Received: from pan.madism.org ([88.191.52.104]:41652 "EHLO hermes.madism.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754017AbXKLIdz (ORCPT ); Mon, 12 Nov 2007 03:33:55 -0500 Received: from madism.org (unknown [81.57.219.236]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "artemis.madism.org", Issuer "madism.org" (not verified)) by hermes.madism.org (Postfix) with ESMTP id F06032987B; Mon, 12 Nov 2007 09:33:53 +0100 (CET) Received: by madism.org (Postfix, from userid 1000) id F30271CAAD; Mon, 12 Nov 2007 09:33:52 +0100 (CET) Mail-Followup-To: Pierre Habouzit , Johannes Sixt , Junio C Hamano , Git Mailing List Content-Disposition: inline In-Reply-To: <47380E77.9040205@viscovery.net> X-Face: $(^e[V4D-[`f2EmMGz@fgWK!e.B~2g.{08lKPU(nc1J~z\4B>*JEVq:E]7G-\6$Ycr4<;Z!|VY6Grt]+RsS$IMV)f>2)M="tY:ZPcU;&%it2D81X^kNya0=L]"vZmLP+UmKhgq+u*\.dJ8G!N&=EvlD User-Agent: Madmutt/devel (Linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --gKMricLos+KVdGMg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 12, 2007 at 08:27:35AM +0000, Johannes Sixt wrote: > It was distracting to see this error message: >=20 > clean.requireForce set and -n or -f not given; refusing to clean >=20 > even though clean.requireForce was not set at all. This patch=20 > distinguishes > the cases and gives a different message depending on whether the > configuration variable is not set or set to true. Note that your patch won't apply to next as is :) --=20 =C2=B7O=C2=B7 Pierre Habouzit =C2=B7=C2=B7O madcoder@debia= n.org OOO http://www.madism.org --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHOA/wvGr7W6HudhwRAkc7AJ9pH5DJpho4j6J7TiQbyfMvgh3elQCdG5WA qdFpOladRqlFuiYm/N5Dwgk= =e4DG -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--